title: cin ignores eof character ? !!! and returns -0 value of ignored eof character
body: <p>Here is my recursive program which reverses numbers entered before eof, but it does not stop when eof character  <strong>^Z</strong>  is found. Until I press enter and write eof character in new line.</p>
  <p>example image: <a href="http://www.imageupload.org/?d=F9D743081" rel="nofollow noreferrer">http://www.imageupload.org/?d=F9D743081</a></p>
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  void recursive()
  {
      long double n;
      if((cin&gt;&gt;n))
          recursive();
          
      cout&lt;&lt;n&lt;&lt;endl;
  }
  int main()
  {
      recursive();
      return 0;
  }
  </code></pre>
  <p>What is wrong?</p>