I need to transfer a windows C++ project to linux, however I am currently using MS <conio.h>
which is not linux or standards compatible. What header do you recommend to replace it for use in Linux? I would prefer the answer is cross platform too.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
There is an replacement version of Conio.h for linux based on NCurses.
http://sourceforge.net/projects/linux-conioh/
回答2:
You're going to want ncurses.
http://en.wikipedia.org/wiki/Ncurses