run .exe function?
#include <cstdlib>
using std::system;
system("program name");
--
Dave Mikesell
d.mikesell@computer.org
http://davemikesell.com
using std::system;
system("program name");
--
Dave Mikesell
d.mikesell@computer.org
http://davemikesell.com
If you''re using windows, then
ShellExecute()
or CreateProcess()
are usually better than std::system()
.
CreateProcess() or (preferably) CreateProcessEx(). system() can be used, but it''s blocking, which may or may not important for you.
"The sun is the same in a relative way,
but you''re older"
--Pink Floyd
"The sun is the same in a relative way,
but you''re older"
--Pink Floyd
quote:Original post by Anonymous Poster
blocking?
"blocks" execution of the thread (/process) it''s called from until the work it''s doing finishes. i.e. system() doesn''t return until the application being executed has ended.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement