I'd have a text file,contains C++ code.
How can I,in the main(), read the file and treat it as header (I mean read and compile that code) ?
Just asking,because I should find another way to read data,not having to parse.
Last edited on
Please elaborate, if you have the text file why not make it a header?
You need to include that as a header.