\n interpretation

Mar 10, 2015 at 8:47pm
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
Mar 10, 2015 at 8:54pm
Escape the slash, as in string s = "test\\ntest";
Topic archived. No new replies allowed.