title: getch and arrow codes
body: <p>I'm writing a programm that's using <code>getch()</code> to scan for arrow keys. My code so far is:</p>
  
  <pre><code>switch(getch()) {
      case 65:    // key up
          break;
      case 66:    // key down
          break;
      case 67:    // key right
          break;
      case 68:    // key left
          break;
  }
  </code></pre>
  
  <p>Problem is that when I press <code>'A'</code>, <code>'B'</code>, <code>'C'</code> or <code>'D'</code> the code will also executed, because <code>65</code> is the decimal code for <code>'A'</code>, etc...</p>
  
  <p>Is there a way to check for an arrow key without call others?</p>
  
  <p>Thanks!</p>