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.
views:
127answers:
2
+3
A:
There is an replacement version of Conio.h for linux based on NCurses.
Peter Kiers
2010-09-02 14:21:29
+1... So long as he was referring to Borland's conio and not Microsoft's!?
Clifford
2010-09-02 14:36:25
True, but the most used functions like coloring, gotoxy, etc. are same in both the Borland as the Microsoft implementation.
Peter Kiers
2010-09-02 14:46:10
Neither colour not gotoxy exist in Microsoft's interface (http://msdn.microsoft.com/en-us/library/7x2hy4cx%28v=VS.71%29.aspx) it is minimal compared with the Borland interface. However the Borland interface is almost a superset of Microsoft's, so this may indeed suit.
Clifford
2010-09-02 22:18:01