title: Can't get char from cin.get()
body: <p>I'm working through some beginner exercises on c++, and this has me stumped. I can enter a number, but I don't get the option to enter a character afterwards, and it skips to the final line.</p>
  
  <p>I know I can use cin >> symbol, but i would like to know why this isn't working.</p>
  
  <pre><code>#include&lt;iostream&gt;
  using namespace std;
  
  int main() {
  
      cout &lt;&lt; "Enter a number:\n";
      int number;
      cin &gt;&gt; number;
  
      char symbol;
      cout &lt;&lt; "Enter a letter:\n";
      cin.get(symbol);
  
      cout &lt;&lt; number &lt;&lt; " " &lt;&lt; symbol &lt;&lt; endl;
  
      return 0;
  }
  </code></pre>