Hello,

I am trying to learn C++ and running into a problem that I"m at a loss how to get started or basically finished.

Ok I am building a small C++ console app that takes input from a user and then randomly displays it back with the characters all mixed up.

I created a character array (ex. char str[21]) for the input using cin.getline but how do I mix up the input and is it possible to remove any spaces the user may have put in? I've been reading online tutorials but they more or less capture input and display exactly what has been entered.

It's a real newb question, I know. I just need that bump start or direction.

Thank you.