I am writing code to verify a password. And I need to read in the input both as a string and as individual characters to run various checks on the characters. Some of the strings do contain spaces so I cannot use the cin but I'm not sure how to use getline and/or the getchar commands.