I am trying to get rid of spaces from input. How would I do that? Thanks.
Printable View
I am trying to get rid of spaces from input. How would I do that? Thanks.
Do you have the input in a char array, now?
Is a for loop ok to use?
Post up your try at it, please.
scanf with most formats does it automatically