I need to overload the stream extraction operator. I need to do this by allowing a user to input a string of characters at a prompt, say "iamastring", and then the operator would extract each character from the string and test whether or not it is whitespace and if it is not whitespace store it in a character array which is then passed to an object.
@Chip et al. For example output I am not expecting it to output anything to the screen. Instead after a user types in a string and hits enter the user should be prompted again to enter a new menu selection. As it stands right now the user inputs a string hits enter and then a "bad read error" is displayed and the prompt comes back up awaiting new input.