Hi,
i want to compile a .cpp file(suppose Test.cpp) living in an other C++ file (Pro.cpp), mean i want to compile Test.cpp indirectly. how i can do so in windows?
u mean to compile a piece of code , that is inside another c++ file as a byte/uint8_t array?
if thats the case then you should first convert the file to a uint8_t array, and embed it in the source file (as when embeding images in teh binary), then write it to the disk and run the compiller.
but you would need Pro.cpp compiled first, and when you run it, it would dump the file from itself to the disk and then run the compiler on it.
if u could give a code example of what u want to do it would be a lot easier as the description u gave is a bit hard to understand