Hello, i am trying to write a program to print a statement without spaces in it.
For example, if the statement is "Hello, i am Solidsnake", then it should print it as "Hello,iamsolidsnake". Can someone help me?
Very good. Make sure to use indenting (and around here, [code] tags too).
@cire I think it unlikely that OPs professor expects OP to use the STL like that. Prof would like OP to figure out how to iterate over array and examine elements and take action (or inaction) as appropriate.