How can I remove parts of an array?
I want to remove everything except letters from the array.Code:char message[60]; cin.get (message, 60);
For example: THIS SITE & THAT SITE RULE!! would become THISSITETHATSITERULE
Optimally, the deleted text would allow the rest of the array to bump down (if message[0] was whitespace it would remove it and replace things to make message[0] the next letter character).
I did a google search but couldn't seem to find anything to do the trick for me.
Thanks in advance