c++ cin string with spaces code example Example: does cin read whitespace? cin does not read white space.