0

<conio.h> Mac Alternative

Hello! I am trying to build a simple game on mac using xcode, but there is no <conio.h> library on mac, I am trying to use kbhit() & getch() etc functions for the game. Does anyone know any alternative for such functions? Thank you in advance

12th Apr 2019, 5:24 AM
Esref Efe Ozcivelek
Esref Efe Ozcivelek - avatar
1 Réponse
+ 2
A few quick searches indicates there is no conio for Mac OS X. See this message for example which implies that you can get similar functionality by using the curses library in OS X https://discussions.apple.com/thread/1176684
12th Apr 2019, 5:55 AM
Gordon
Gordon - avatar