解决编译过程中的strcpy/malloc/strlen incompatible警告

使用strcpy/malloc/strlen出现如下警告的时候

warning: incompatible implicit declaration of built-in function ‘strcpy’
可以通过在源文件中加入如下头文件解决

#include <string.h>

原文地址:https://www.cnblogs.com/rogerroddick/p/2846724.html