quotation marks

How do you put quotation marks in a program?
If you mean how to put them in a string constant then you need to 'escape' then with a backslash '\'.

So you could say this:

 
const char* text = "The man said \"Where are we going?\"";
Topic archived. No new replies allowed.