Stopping at Blank Line During User Input (C++)
<p>I've got a file that I need to parse using cin and a redirect at the command line. The first however many lines consist of two doubles and two strings, then comes a blank line, then more information. I need to stop reading in the data at this blank line and switch to different variables because the data will be formatted differently after this point. How can I detect a blank line with cin, while not losing any data? Thanks for the help...</p>
