C语言库函数

string.h 1、memcmp的用法 函数原型 int memcmp(const void *str1, const void *str2, size_t n)); 参数 ● str1-- 指向内存块的指针。 ● str2-- 指向内存块的指针。 ● n-- 要被比较的字节数。 功能 比较内存区域buf1和buf2的前count个字节。 头文件 #include <string.h>或#inc
相关文章
相关标签/搜索