1
In windows has the library conio.h. if I am not mistaken it is possible to use the arrow keys on the keyboard on Linux using ncurses. h, but I wanted a more cross-platform solution where the same code would compile on several different operating systems not having to change anything (or very little) to work.
Does anyone know a solution to my problem ? Something like a function present in the standard C++ library or a conium port. h for Linux or an ncurses port for windows
As far as I know there is no cross-platform solution
– Isac
Do you know if there’s anything like it in the QT libraries? So I mix the languages and it’s all right
– silash35
Or some library that is non-standard but cross-platform ?
– silash35
Not cross-platform. But some frameworks already deal with these problems such as SDL, Allegro, Irrlicht and others
– Isac