Hi everyone
I have to getline(cin, string)
Then I have to output the string by separating the words and making them "valid words."
Like for instance I need to change the word To: to the word to
and hat@edu.gov!!! to hat@edu.gov Then I'm supposed to put it into an array.
I think I can do the array part, but I don't know how to output the list of words without the extra characters that don't belong since the list could be an infinite amount of possibilities.
Thanks in advance for the help
Take care,
Beckie
I have to getline(cin, string)
Then I have to output the string by separating the words and making them "valid words."
Like for instance I need to change the word To: to the word to
and hat@edu.gov!!! to hat@edu.gov Then I'm supposed to put it into an array.
I think I can do the array part, but I don't know how to output the list of words without the extra characters that don't belong since the list could be an infinite amount of possibilities.
Thanks in advance for the help
Take care,
Beckie