I have 3 C++ files that I would like to generate using an executable file, I mean if I click on the executable my 3 files should appear beside it.
So I thought about using ofstream
and then create my three files like this. But the problem is, my 3 files contain a lot of lines and escaping the "
and '
will take a lot of time...
How can I embed C++ source code inside my executable without the hassle of escaping the string literals?