Using the Exec…() function

Using the Exec…() function

How do you use the Exec() function to run another executable program out of your C++ application? The help files have syntax on this, but I need someone to step through everything slowly and clearly. I can’t figure out how to use the different versions of Exec() and how to use the arguments.

The Exec function provides several options for dealing with a multitasking operating system. If none of these are of concern to you, you might find the system() function much easier to use. It just takes a string argument that specifies the command to execute.


Share the Post: