我建議你不要照做?(大佬勿噴)
2023-03-25 20:11 作者:西子湖里的醋魚(yú) | 我要投稿

在dev上先寫(xiě)一個(gè)簡(jiǎn)單的程序,放到D盤里:
#include<iostream>
int main()
{
? ? getchar();
? ? getchar();
}
隨便起個(gè)名,比如123, 然后…………
#include<windows.h>
int main()
{
? ? ShellExecuteA(NULL,"open","D:/123.exe",NULL,NULL,SW_SHOW);
}
建議把中間的ShellExecuteA函數(shù)加個(gè)while(true)
然后運(yùn)行……………………?
(關(guān)機(jī)鍵:都是渣渣)
標(biāo)簽:C++