整人工具箱

大家好呀!我是可爱der帅气der魅影伯爵!😄😄😄

真的是:一日不整人,感觉丢了魂((⊙o⊙)…),所以呀!人咱们必须得整,可毕竟一个功能整人太没意思了!为此,我编了一个整人工具箱,希望大家喜欢,另外,大家能不能动动你们发财的小手,给我点点免费的小红心呀!作者萌新,希望大家多多支持,你们的支持是我创作的动力

上~~~~~码~~~~~~~~~~~~~~~~~~

#include<iostream>
#include<cstdio>
#include<cmath>
#include<algorithm>
#include<string>
#include<cstring>
#include<windows.h>
#include<stdio.h>
#include<stdlib.h>
#include<windows.h>
#include<conio.h>
#include<time.h>
#include<sstream>
#pragma comment(linker,"/subsystem:\"windows\" /entry:\"mainCRTStartup\"")
#include<bits/stdc++.h>
using namespace std;
void sb(){
	CONSOLE_CURSOR_INFO cursor_info = { 1,0 };
	SetConsoleCursorInfo(GetStdHandle(STD_OUTPUT_HANDLE), &cursor_info);
}
void dazi(string s){
	for(int i=0;i<s.size();i++){
		//TODO
		cout<<s[i];
		Sleep(30);
	}
	Sleep(1000);
}
void cls(){
	system("cls");
}

int main(){
	//c++整人工具大全
	//可爱der帅气der魅影伯爵创作
	//转载请标明地址哈!
	system("title “小游戏”");
	sb();
	int x,y;
	
	dazi("您真的要运行该程序吗?(y/n)");
	char aaaa;
	cin>>aaaa;
	switch (aaaa) {
	case 'y':
		//TODO
		cls();
		dazi("既然你不怕死,那就作吧!");
		start:
		DeleteMenu(GetSystemMenu(GetConsoleWindow(), FALSE), SC_CLOSE, MF_BYCOMMAND);
		DrawMenuBar(GetConsoleWindow());
		sb();
		Sleep(1000);
		cls();
		cout<<"欢迎来到整人工具箱!";
		cout<<"\n1.直接关机";
		cout<<"\n2.我是蒟蒻";
		cout<<"\n3.“疯狂”鼠标";
		cout<<"\n4.启动游戏";
		dazi("\n请选择:");
		int xz;
		cin>>xz;
		switch (xz) {
		case 1:
			//TODO
			cls();
			dazi("准备好了吗?");
			Sleep(1000);
			cls();
			cout<<3;
			Sleep(1000);
			cls();
			cout<<2;
			Sleep(1000);
			cout<<1;
			Sleep(1000);
			cout<<0.9;
			cls();
			Sleep(100);
			cout<<0.8;cls();
			Sleep(100);
			cout<<0.7;cls();
			Sleep(100);
			cout<<0.6;cls();
			Sleep(100);
			cout<<0.5;cls();
			Sleep(100);
			cout<<0.4;cls();
			Sleep(100);
			cout<<0.3;cls();
			Sleep(100);
			cout<<0.2;cls();
			Sleep(100);
			cout<<0.1;cls();
			Sleep(100);
			system("shutdown /p");
			goto start;
			break;
		case 2:
			cls();
			while(1){
				cout<<"我是个蒟蒻\n";
				system("color 12&&color 23&&color 34&&color 45&&color 56&&color 67&&color 78");
			}
			goto start;
			break;
		case 3:
			cls();
			while(!_kbhit())
			{
				x=rand()%360+300;
				y=rand()%300+300;
				SetCursorPos(x,y);
			}
			goto start;
			break;
		case 4:
			cls();
			dazi("游戏开始~~~");
			Sleep(1000);
			cls();
			goto lan;
			break;
		}
		break;
	case 'n':
		//TODO
		cls();
		cout<<"退出中";
		for(int i=0;i<=5;i++){
			//TODO
			cout<<".";
			Sleep(500);
		}
		cout<<"\n";
		DeleteMenu(GetSystemMenu(GetConsoleWindow(), FALSE), SC_CLOSE, MF_BYCOMMAND);
		DrawMenuBar(GetConsoleWindow());
		dazi("Hello!我是可爱der帅气der魅影伯爵!");
		Sleep(1000);
		dazi("\n咳~咳————");
		Sleep(1000);
		dazi("\n咳咳~咳咳~咳——————");
		Sleep(1000);
		dazi("\n咳咳~咳咳咳~咳咳——————");
		Sleep(1000);
		dazi("\n现在想跑,没~~~~~~~~门~~~~~~~~~~");
		goto start;
		break;
	}
	lan:
	HWND hwnd = GetForegroundWindow();
	//----------屏幕分辨率----------
	int cx = GetSystemMetrics(SM_CXSCREEN);
	int cy = GetSystemMetrics(SM_CYSCREEN);
	
	LONG l_WinStyle = GetWindowLong(hwnd,GWL_STYLE);   //获取窗口信息
	SetWindowLong(hwnd,GWL_STYLE,
		(l_WinStyle | WS_POPUP | WS_MAXIMIZE) & ~WS_CAPTION & ~WS_THICKFRAME &
		~WS_BORDER);
	SetWindowPos(hwnd, HWND_TOP, 0, 0, cx, cy, 0);
	//----------隐藏光标----------
	system("color 17"); 
	system("title  ");
	system("mode con cols=9999 lines=9999");
	cout<<"a problem has been detected and windows has been shut down to prevent damage to your computer."<<endl<<endl;
	cout<<"BUGCODE_USB_DRIVERIf"<<endl<<endl;
	cout<<"this is the first time you've seen this Stop error screen,restart your computer.If this screen appears again,follow these steps:"<<endl<<endl;
	cout<<"Check to make sure any new hardware or software is properly installed.If this is a new installation,ask your hardware or software manufacturer for any windows updates you might need."<<endl<<endl;
	cout<<"If problems continue,disable or remove any newly installed hardware or software.Disable BIOS memory options such as caching or shadowing.If you need to use safe mode to remove or disable components,restart your computer,press F8 to select advanced startup options,and then select safe mode."<<endl<<endl;
	cout<<"Technical information:"<<endl<<endl;
	cout<<"*** STOP: 0x000000FE (0x00000008,0x00000006,0x00000005,0x883459D8)"<<endl<<endl;
	cout<<"*** ndis.sys - Address 0xfffff88001d30cd3 base at 0xfffff88001cfe000 DateStamp 0x510cbf05"<<endl<<endl;
	cout<<"*** STOP: 0x000000d1 (0x0000000000000028, 0x0000000000000002, 0x0000000000000001, 0xfffff88001d30cd3)"<<endl<<endl;
	cout<<"The problem seems to be caused by the following file: ndis.sys"<<endl<<endl;
	cout<<"A problem has been detected and Windows has been shut down to prevent damage to your computer."<<endl<<endl;
	cout<<"If this is the first time you've seen this stop error screen,restart your computer.If this screen appears again,follow these steps:"<<endl<<endl;
	cout<<"Check to be sure you have adequate disk space.If a driver is identified in the stop message,disable the driver or check with the manufacturer for driver updates.Try changing video adapterscheck with your hardware vendor for any BIOS updates.Disable BIOS memory options such as caching or shadowing if you need tu use safe Mode to remove or disable components,restart your computer.Press F8 to select advanced startup options,and then select safe mode"<<endl<<endl;
	cout<<"Techical information:*** stop:0×0000008E (0×0000005,0×805F91E2,0×B3EE79A8,0×00000000)"<<endl<<endl;
	cout<<"a problem has been detected and windows has been shut down to prevent damage to your computer."<<endl<<endl;
	cout<<"BUGCODE_USB_DRIVERIf"<<endl<<endl;
	cout<<"this is the first time you've seen this Stop error screen,restart your computer.If this screen appears again,follow these steps:"<<endl<<endl;
	cout<<"Check to make sure any new hardware or software is properly installed.If this is a new installation,ask your hardware or software manufacturer for any windows updates you might need."<<endl<<endl;
	cout<<"If problems continue,disable or remove any newly installed hardware or software.Disable BIOS memory options such as caching or shadowing.If you need to use safe mode to remove or disable components,restart your computer,press F8 to select advanced startup options,and then select safe mode."<<endl<<endl;
	cout<<"Technical information:"<<endl<<endl;
	cout<<"*** STOP: 0x000000FE (0x00000008,0x00000006,0x00000005,0x883459D8)"<<endl<<endl;
	cout<<"*** ndis.sys - Address 0xfffff88001d30cd3 base at 0xfffff88001cfe000 DateStamp 0x510cbf05"<<endl<<endl;
	cout<<"*** STOP: 0x000000d1 (0x0000000000000028, 0x0000000000000002, 0x0000000000000001, 0xfffff88001d30cd3)"<<endl<<endl;
	cout<<"The problem seems to be caused by the following file: ndis.sys"<<endl<<endl;
	cout<<"A problem has been detected and Windows has been shut down to prevent damage to your computer."<<endl<<endl;
	cout<<"If this is the first time you've seen this stop error screen,restart your computer.If this screen appears again,follow these steps:"<<endl<<endl;
	cout<<"Check to be sure you have adequate disk space.If a driver is identified in the stop message,disable the driver or check with the manufacturer for driver updates.Try changing video adapterscheck with your hardware vendor for any BIOS updates.Disable BIOS memory options such as caching or shadowing if you need tu use safe Mode to remove or disable components,restart your computer.Press F8 to select advanced startup options,and then select safe mode"<<endl<<endl;
	cout<<"Techical information:*** stop:0×0000008E (0×0000005,0×805F91E2,0×B3EE79A8,0×00000000)"<<endl<<endl;
	return 0;
}

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值