So, I\'ve looked around and haven\'t been able to figure out what\'s going on with cin during my While loop. I\'m working through the book C++ Primer (5th edition) and I noticed
@Protomega, You can use the same code, but press Ctrl+D to stop input stream.