Reading from ifstream won’t read whitespace

There is a manipulator to disable the whitespace skipping behavior:

stream >> std::noskipws;

Leave a Comment