C语言使用GCC编译时,报了:
warning: implicit declaration of function 'memset'
原因: 未包含 函数声明的 头文件
解决办法: #include<string.h>
(包含memset函数声明的头文件是 string.h)
C语言使用GCC编译时,报了:
warning: implicit declaration of function 'memset'
原因: 未包含 函数声明的 头文件
解决办法: #include<string.h>
(包含memset函数声明的头文件是 string.h)