incompatible implicit declaration of built in function ‘strcpy’
0赞
发表于 1/22/2014 9:04:56 AM
阅读(2771)
warning: incompatible implicit declaration of built-in function‘strcpy’
warning: incompatible implicit declaration of built-in function‘strlen’
warning: incompatible implicit declaration of built-in function‘strlen’
warning: incompatible implicit declaration of built-in function‘exit’
原因缺少string.h头文件 加上#include <string.h>就行了。