\n interpretation

How can I interpret \n literally, I mean as a string o word instead of making c++ putting a New line. I am making a gnuplot script from a c++ code and I need to interpret \n as word in the code of c++ in order to making gnuplot interpret it as his own command when i run the c++ program
Escape the slash, as in string s = "test\\ntest";
Topic archived. No new replies allowed.