摘要:
头文件定义 1 #ifndef CHAPTER10_INCLUDE_TIME_UTILS_H_ 2 #define CHAPTER10_INCLUDE_TIME_UTILS_H_ 3 4 #if defined(_WIN32) 5 #include <sys/timeb.h> 6 #elif def 阅读全文
摘要:
阅读全文
摘要:
什么也不设置, 看一下代码运行结果。 1 #include <io_utils.h> 2 #include <string.h> 3 #include <stdlib.h> 4 #include <wchar.h> 5 #include <wctype.h> 6 #include <locale.h 阅读全文
摘要:
#include <io_utils.h> #include <string.h> #include <stdlib.h> int main() { // memchr() // strchr() // memcmp() // strcmp() //memset() char *mem = mall 阅读全文
摘要:
1 #include <io_utils.h> 2 #include <string.h> 3 4 int main() { 5 char src[] = "HelloWorld"; 6 char dest[20] = "C said123456"; 7 // strcat(dest, src); 阅读全文