I\'m learning C++ and trying to understand, Why doesn\'t the EOF character (Ctrl + Z on Windows) break the while loop if put at the end of a line?
My code: