Is it possible to execute another program using C++? -
what i'd have c++ code open mplus (statistical program i've downloaded on computer) , run it. possible?
you may able want std::system() calls like:
std::system("program -e input_commands.txt"); // assuming accepts sort of command line args std::system("program < input_commands.txt"); // assuming responds stdin
it depends on program if approach work.
Comments
Post a Comment