string

hi,i need to cout something like this:

"me"
i mean i want to print double quoted string.tx
If you want to actually display the double apostrophes, you will have to add a backslash in front of it:
cout << "\"me\"";
use \" escape character
cout <<"\"me\""; // will print "me"

EDIT: I'm slow...
Last edited on
thanks.it work.
Topic archived. No new replies allowed.