Unresolved inclusion: <conio.h>. Why?

青春壹個敷衍的年華 提交于 2020-01-03 08:46:10

问题


While running a simple c program I receive an

Unresolved inclusion: <conio.h> 

What am I missing? I am using eclipse on fedora 13. Please help me resolve this problem. If I am missing any file or haven't installed anything let me know. Also I am new to fedora. Guide me with proper steps please.

Thanks in advance.


回答1:


conio.h is a C header file used in old MS-DOS compilers to create text user interfaces. It is not described in The C Programming Language book, and it is not part of the C standard library, ISO C nor is it required by POSIX.

Since you are on Linux, to resolve it don't include conio.h and don't use any functions from that header.

Source



来源:https://stackoverflow.com/questions/3733488/unresolved-inclusion-conio-h-why

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!