C++ compiling in C++ program [closed]

  auto-compile, c++

How can I compile a C++ file (contain codes) in C++ program

I mean My code will write a C++ file and codes and I need to compile it automatically with my program

I want to create a compiler for a new language that it can converting to C++ code (already done) and I need to compile that after converting to C++

Is it possible?

Source: Windows Questions C++