title: getch() doesn't work properly in the latest version of Microsoft Visual Studio 2017 C
body: <p>I spent the last couple of weeks working on an aplication which basicly relies on the getch() function, then I recently decided to update visual studio only to find out that my program is completly broken and doesn't work anymore.</p>
  
  <p>Heres a simple example of what I have:</p>
  
  <pre><code>main(){
  while (1){
   //The program loops until 's' is pressed (this still works)
   com=getch();
    if(com=='s'){
     //The program used to stop here and wait for input (now it doesn't)
     com=getch();
     if(com=='d') printf("Victory!\n");
     else break;
    }
  }
  } 
  </code></pre>
  
  <p>*This is not a part of my program this is simply an example which requires to press 's' then 'd' in order to win</p>
  
  <p>Now, this worked before I updated, I know because I spent over 50 hours working on the program and it worked the following way:</p>
  
  <p>The program would reach getch() and wait for my input, if I pressed 's', the if would trigger doing its fuction and then it would reach the second getch() and wait for my input, so you'd press 'd' and win!</p>
  
  <p>Main point is, it used to wait for my input at every single getch()!</p>
  
  <p>But now, new update it waits for the first getch() but complitley ignores the second one which, well ends the program and there is no way to win.</p>
  
  <p>Maybe I did something, maybe getch() is now illegal, I don't know, im supper unhappy, I don't know what to do...</p>
  
  <p>Anyway thanks in advance, if there is anything more you need to know, feel free to ask. I'm new to programing so don't expect any high level answers!</p>
  
  <p>Edit:
  I spent a few more hours of exploring heres the code:</p>
  
  <pre><code>#include &lt;conio.h&gt;
  #include &lt;stdio.h&gt;
  main(){
      char com;
      while(1){
          com=getch();
          printf("You pressed: %c\n",com);
      }
  }
  
   Here are the results:
   You pressed: d 
   You pressed: 
   You pressed: s 
   You pressed: 
   You pressed: a 
   You pressed:
  </code></pre>
  
  <p>The inputs were 'd', 's', and 'a'.</p>