cin input spaces detect code example Example: does cin read whitespace? cin does not read white space.