I was working on an example for this answer and I noticed that http://ideone.com will let me read till EOF
from cin
but Visual Studio 2015 will not.
For example, given the program:
string i;
while(cin >> i) cout << i << endl;
I can give the input:
Lorem Ipsum
And http://ideone.com will terminate: http://ideone.com/22uNOr
Visual Studio 2015 will continue waiting for input however until I press Ctrl + Z and hit Enter
Is this a gcc/Visual Studio difference or just something http://ideone.com is doing?