Whitespaces in iostream streams skip whitespace (space, tabs, newlines) by default Source. Posted on Nov 25th, 2015