I need to code a 2D array and one player in the array, and then I want to move the player with the arrow keys.
I googled for methods and libraries and found kbhit()
, #include <conio.h>
, however those are outdated already.
I do not know why this kind of common questions' answers are not available on the web easily.
I am using windows 7 and VS 2015 C++.