Ask your own question, for FREE!
Computer Science 14 Online
OpenStudy (blackstreet23):

How do i write double quotes in c++? I keep hearing that i have to do the escape sequence "\" " but that does not work

OpenStudy (blackstreet23):

Enter /just the hour/ you came in

OpenStudy (blackstreet23):

cout << "Enter \"just the hours\" your vehicle stays in" << endl;

OpenStudy (rsmith6559):

I just tested your post with my G++ compiler, worked fine as written. Any chance your using Micro$oft? The backslash would be their path separator, who knows what dumb thing they do for escaping.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!