Linux中C编程出现implicit declaration of function 'x'

函数声明不明确。

原因:
没有包含该函数的头文件。
ps:还有可能是函数拼写错误

解决办法:
添加头文件include。

查找函数所在头文件:

man xxx

猜你喜欢

转载自blog.csdn.net/sinat_29315697/article/details/79861113
今日推荐