I'm using Turbo C++ and I have a problem:
how do you reverse the words of a string??
eg:
If i type:
I GO TO SCHOOL
program gives::
SCHOOL TO GO I
-voidmaingetch
User Profile
Collapse
-
Reversal of a sentence
-
thanks jos, but im sorry i forgot to mention that its for turbo c++. anyway, thanks for your reply.
VMG -
abbreviate a string
hey i was asking, y'know, how do i abbreviate a string.
eg--if i give>> world health organization it'll give me<< w.h.o.
No activity results to display
Show More
Leave a comment: