title: How to detect if a newline is encountered in C++?
body: <p>I have input where we get to know that the current testcase has finished and next started by a blank line in between. How can I check that if a blank line has occurred in C++?</p>