Is there any cross-platform way to use keyboard arrows in c ++?

1

On windows you have the conio.h library. if I am not mistaken it is possible to use the keyboard arrows on Linux using ncurses.h, but I wanted a more multiplatform solution where the same code would be compiled on several different operating systems not having to change anything (or too little) to work.

Does anyone know a solution to my problem? Something like a function present in the standard C ++ library or a conio.h port for Linux or an ncurses port for windows

    
asked by anonymous 03.05.2018 / 20:19

0 answers