Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Replacement for <conio.h> in Linux

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.

like image 571
Elpezmuerto Avatar asked Sep 02 '10 14:09

Elpezmuerto


2 Answers

There is an replacement version of Conio.h for linux based on NCurses.

http://sourceforge.net/projects/linux-conioh/

like image 58
Peter Kiers Avatar answered Sep 27 '22 20:09

Peter Kiers


You're going to want ncurses.

http://en.wikipedia.org/wiki/Ncurses

like image 38
Ken Simon Avatar answered Sep 27 '22 21:09

Ken Simon