title: How to get arrow key input in c++?
body: <p>So i am making a console treasure finding game in c++ which takes arrow keys as inputs and increments or decrements the values of coordinates of player. I read that there is no ASCII code for these keys so how can i get the arrow keys as input? Also it would be nice if you suggest me an alternative to getch(). I am using Visual studio on 64 bit Win 7. Thanks.</p>
  
  <p>Here's my code:
  <a href="https://i.stack.imgur.com/URSwy.png" rel="nofollow noreferrer">Code sample</a></p>