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

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

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -