純C/C++ 呼叫WINAPI 啟動外部程式 [CB_WinExec_calc]
純C/C++ 呼叫WINAPI 啟動外部程式 [CB_WinExec_calc]
GITHUB:https://github.com/jash-git/CB_WinExec_calc.git
code
#include <iostream> #include <stdlib.h> #include <windows.h> using namespace std; int main() { WinExec("calc.exe ",SW_HIDE);//cout << "Hello world!" << endl; return 0; }