I need to print the following string:
std::string("-I\"/path/to/dir\" ");
Basically, I need to accomplish this since I am generating C++ code using C++ code.
I want to use an ofstream to write the above string, so something like
ofstream fout;
fout << the_string << endl;
The issue is that I can't put \\ " inside a string.