Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <windows.h>
- #include <process.h>
- #include <stdio.h>
- int main ()
- {
- // Tre modi per eseguire un programma, "old style"
- system("notepad");
- int nRet= _spawnl( _P_WAIT, "c:\\windows\\notepad.exe", "notepad", 0 );
- int nRet1= _execl( "c:\\windows\\notepad.exe", "notepad", 0 );
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement