I have this program that I need to write in a name.....for example "Richard Michael Smith" and output just their initials. I can't figure out how to output just the initials.
I have
cout << "Enter in your name " ;
getline(cin,name);

then i'm thinking
if (isupper.... ?

i don't know how to only count the single initials from a string as a char like isupper checks only a single character at a time.

If someone could help me on this one, I would really appreciate it.

Thanks,
Nick