gcc 编译出现: 警告: 隐式声明与内建函数‘printf’不兼容,如下: 原因: 把头文件 #include <stdio.h> 写成其他的了 解决: 增加头文件 #include <stdio.h>