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
相關文章
相關標籤/搜索