title: What does `cin >> variable` in while mean?
body: <p>I'm currently learning C++, and I've encountered the following code:</p>
  
  <pre><code>int n, g;
  
  while(cin &gt;&gt; n &gt;&gt; g) // &lt;--------------
      // ... snip ...
  </code></pre>
  
  <p>What does the marked line mean? Does it mean "While n is greater or equal to g"? And cin >=n?</p>