title: cin.get() not working
body: <p>I wrote this simple program today, but I found that <code>cin.get()</code> refuses to work unless there are 2 of them. Any ideas?</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  int main(){
      int base;
      while ((base &lt; 2) || (base &gt; 36)){
            cout &lt;&lt; "Base (2-36):" &lt;&lt; endl; 
            cin &gt;&gt; base;
            }
      string base_str = "0123456789abcdefghijklmnopqrstuvwxyz";
      for (int i = 0; i &lt; base; i++){
          for (int j = 0; j &lt; base; j++){
              for (int k = 0; k &lt; base; k++){    
                  cout &lt;&lt; base_str[i] &lt;&lt; base_str[j] &lt;&lt; base_str[k] &lt;&lt; endl;
              }
          }
      }
      cin.get();
      cin.get();
  }
  </code></pre>
  
  <p>if i move a <code>cin.get()</code> to before the nested loops, the loops run then pause. if i take one <code>cin.get()</code> out, the program just ends. im using the latest version of  bloodshed c++ dev</p>