title: GetAsyncKeyState returning fatal link error
body: <p>I am trying to make a basic console game in c++ and when I try to use the <code>GetAsyncKeyState</code> in the following code:</p>
  <pre><code>   if(GetAsyncKeyState(VK_UP) != 0){
          int y2 = (y - 1);
          switch(Map[y2][x]){
              case ' ':{
                  Map[y][x] = ' ';
                  y -= 1;
                  Map[y2][x] = 'O';
              }
          }
      }
  </code></pre>
  <p>...but I keep getting the following error when I try to compile it:</p>
  <pre><code>    error LNK2019: unresolved external symbol __imp__GetAsyncKeyState@4 referenced in function &quot;void __cdecl Draw(void)&quot; (?Draw@@YAXXZ)
  
      fatal error LNK1120: 1 unresolved externals
  </code></pre>
  <p>I am not sure if I need to include any libraries other than <code>iostream</code> and <code>windows.h</code></p>