how to initialize single element in string

dear programmers i am new to c++ ...i was writing a program to output the string length removing spaces used
Well, congrats.
Topic archived. No new replies allowed.