Hi, an exercise in this book im reading says, make a program that prints
This (") is a quote, and this (\) is a backslash.
Now, they done this on purpose because when you write " it ends the string.
Now this don't work.Code:#include <iostream>
int main()
{
std::cout <<"This (") is a quote, and this (\) is a backslash" << std::endl;
system("PAUSE");
return 0;
}
Can someone point out how to do this because its so simple yet so annoying.
Thanks in advance.
Hugo.