Or any program (just using notepad as a simple example). I am using Bloodshed Dev C++.
How can I write a simple C++ program that starts notepad when the program is run?
Spawn, exec or system function. I would use:
spawnl(P_WAIT, "%SystemRoot%\system32\notepad.exe ", NULL);
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment