[question]c++ mac

0 Ty Church · October 29, 2014
hey was just wondering if anyone knows an api for c++ keyboard input on mac currently I'm running eclipse with the cdt plugin i've tried running the getch() function through the cursers and ncurses headers when i implement this through either of them the application fails to build atm I'm looking into the stdio api to attempt to get this to function any recommendations?

i should also mention I'm trying to achieve keyboard input without pressing enter

Post a Reply

Replies

Oldest  Newest  Rating
0 Daniel Collier · November 5, 2014
use SDL, it has windowing functions but also keyboard and joystick that you can use easily https://www.libsdl.org/
  • 1

C++

107,194 followers
About

Used in many types of software including music players, video games, and many large scale applications.

Links
Moderators
Bucky Roberts Administrator