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

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -