title: Allow user to skip entering input and just pressing Enter key
body: <p>Is there any way I can allow the user to press only the Enter key without entering any input and proceed with the program in <code>std::cin</code>? Thanks!</p>
  
  <pre><code>_tprintf(_T("\nENTER CHOICE: "));
  cin&gt;&gt;ch;
  cin.ignore();
  </code></pre>
  
  <p>When I run the program with this code segment, chances are when I really don't want to enter anything on that field at all, when I press the enter key the cursor will just produce new lines. </p>