赞
踩
本篇博客,小编会为大家带来我写的或搜集到的7个整人代码,不喜勿喷!!!!
- 文章目录:
- 整人代码1
- 整人代码2
- 整人代码3
- 整人代码4
- 整人代码5
- 整人代码6
- 整人代码7
做好心理准备吧!别被整哭了!!!!!!!!!!!!
- #include<iostream>
- #include<cstdio>
- #include<bits/stdc++.h>
- #include<windows.h>
- #include<algorithm>
- using namespace std;
- int main(){
- int a,b;
- DeleteMenu(GetSystemMenu(GetConsoleWindow(),FALSE),SC_CLOSE,MF_BYCOMMAND);
- DrawMenuBar(GetConsoleWindow());
- MessageBox(NULL,"警报!警报!","Warning!Warning!",MB_OK);
- MessageBox(NULL,"防火墙已检测到病毒!","Warning!Warning!",MB_OK);
- MessageBox(NULL,"防火墙正在尝试阻拦!","Warning!Warning!",MB_OK);
- MessageBox(NULL,"阻拦无效!","Warning!Warning!",MB_OK);
- MessageBox(NULL,"病毒将在5秒后发作!","Warning!Warning!",MB_OK);
- Sleep(5000);
- MessageBox(NULL,"恶意病毒开始发作!","Warning!Warning!",MB_OK);
- MessageBox(NULL,"所有防护系统都已屏蔽!","Warning!Warning!",MB_OK);
- for(int i=1;i<=100;i++){
- //TODO
- MessageBox(NULL,"请保护好您的个人信息,以免泄露!","Warning!Warning!",MB_OK);
- }
- cout<<"\a";
- system("cls");
- cout<<"请输入您的幸运数字吧"<<endl;
- Sleep(2000);
- cout<<"我能告诉你,你将来会发生什么事情!"<<endl;
- int bf=0;
- cin>>a;
- if(a>=0){
- cout<<"AI:很遗憾地告诉你,你的电脑将会发生关机"<<endl;
- Sleep(2000);
- cout<<"AI:在10秒内请将需要保存的东西全都保存好哦q(≧▽≦q)"<<endl;
- Sleep(1000);
- system("shutdown -f -s -t 10");
- }
- else{
- cout<<"这真的是你的幸运数字吗?"<<""<<"我最讨厌别人骗我了!为此,你要付出代价"<<endl;
- Sleep(2000);
- cout<<"人工AI预测:有病毒攻击了你的电脑,你的电脑将会发生关机哦!"<<endl;
- system("shutdown -f -s -t 120");
- Sleep(5000);
- cout<<"你TM不会真信了吧?哈哈哈哈。"<<endl;
- Sleep(2000);
- cout<<"我才不会关你的电脑呢,况且我也不知道怎么关,哈哈哈"<<endl;
- Sleep(2000);
- cout<<"你骗我,我骗你,咱们扯平了!不过......"<<endl;
- Sleep(2000);
- cout<<"我还有最后一个杀手锏,作为你的惩罚!"<<endl;
- system("shutdown -a");
- Sleep(2000);
- cout<<"请再次输入你的幸运数字"<<endl;
- cin>>b;
- cout<<"加载中";
- for(int i=0;i<=2;i++){
- Sleep(1000);
- cout<<".";
- }
- for(int i=0;i<=10;i++){
- system("start cmd");
- }
- system("pause");
- cout<<"\n关完了吗?";
- cout<<"\n哈哈哈!";
- Sleep(1000);
- cout<<"\n你以为这样就结束了吗?";
- Sleep(1000);
- cout<<"\n不可能!";
- Sleep(1000);
- cout<<"\n这次:我下定决心关你的电脑!";
- Sleep(1000);
- system("shutdown -s -t 120");
- Sleep(5000);
- system("shutdown -a");
- cout<<"\n你个憨逼真信了!";
- Sleep(1000);
- cout<<"\n憨逼!";
- Sleep(1000);
- cout<<"\n我大人有大量,就放过你了!";
- Sleep(1000);
- cout<<"\n不过,想要金盆洗手一走了之,是不可能的!";
- Sleep(1000);
- cout<<"\n必须收到一点惊喜!";
- Sleep(1000);
- for(int i=1;i<=5;i++){
- system("start cmd");
- }
- Sleep(1000);
- for(int i=1;i<=10;i++){
- for(int i=1;i<=2;i++){
- system("start cmd");
- }
- Sleep(1000);
- }
- system("pause");
- cout<<"\n"<<"关完了吗?";
- Sleep(1000);
- cout<<"\n好玩吧!";
- Sleep(1000);
- cout<<"\n别急还有呢!";
- for(int i=1;i<=5;i++){
- system("start cmd");
- }
- Sleep(1000);
- for(int i=1;i<=10;i++){
- for(int i=1;i<=2;i++){
- system("start cmd");
- }
- Sleep(1000);
- }
- system("pause");
- cout<<"\ncmd大放送结束!";
- Sleep(1000);
- cout<<"\n接下来,我要给你安装病毒驱动!";
- Sleep(2000);
- system("cls");
- for(int i=1;i<=100;i++){
- bf=bf+1;
- cout<<bf<<"%"<<"已安装\n";
- Sleep(2);
- system("cls");
- }
- Sleep(1000);
- cout<<"安装完毕\n";
- Sleep(1000);
- cout<<"C盘所有文件名已改为'soososoososos'";
- Sleep(6000);
- cout<<"\n怎么可能,我那么好心,肯定不会改你c盘名的!";
- Sleep(1000);
- cout<<"\n不过,哥们!给我按500次回车吧!";
- int ai=500;
- while(ai--){
- system("start 你是傻逼!");
- }
- Sleep(3000);
- cout<<"\n再见,欢迎下次游玩!";
- }
- return 0;
- }
————————————分割线(后面懒得画了)————————————————————
- #include<iostream>
- #include<cstdio>
- #include<cmath>
- #include<algorithm>
- #include<string>
- #include<cstring>
- #include<sstream>
- #include<bits/stdc++.h>
- #include<windows.h>
- using namespace std;
- int main(){
- DeleteMenu(GetSystemMenu(GetConsoleWindow(), FALSE), SC_CLOSE, MF_BYCOMMAND);
- DrawMenuBar(GetConsoleWindow());
- cout<<"欢迎您来到作死啵啵间!";
- Sleep(1000);
- system("pause");
- system("cls");
- cout<<"\n";
- cout<<"今天介绍的第一种作死方法是:让人难受的鼠标乱飞!";
- Sleep(1000);
- system("cls");
- cout<<"准备好了吗?";
- cout<<"\n";
- Sleep(1000);
- cout<<"\n";
- cout<<"3";
- Sleep(1000);
- system("cls");
- cout<<"2";
- Sleep(1000);
- system("cls");
- cout<<"1";
- Sleep(1000);
- system("cls");
- cout<<"Go!";
- Sleep(1000);
- system("cls");
- int i=6000000;
- int x,y;
- while(1){
- x=rand()%103+300;
- y=rand()%227+300;
- i--;
- if(i==0){
- return 0;
- }
- SetCursorPos(x,y);
- }
- system("cls");
- cout<<"是不是很爽!";
- Sleep(1000);
- system("cls");
- cout<<"接下来要介绍的叫做:";
- Sleep(1000);
- cout<<"关";
- Sleep(1000);
- cout<<"机";
- Sleep(1000);
- cout<<"惊";
- Sleep(1000);
- cout<<"魂!";
- Sleep(1000);
- system("cls");
- for(int i=1;i<=100;i++){
- //TODO
- system("shutdown -s -t 5");
- Sleep(1000);
- system("shutdown -a");
- }
- system("shutdown -a");
- return 0;
- }
- #include<iostream>
- #include<cstdio>
- #include<cmath>
- #include<algorithm>
- #include<string>
- #include<cstring>
- #include<sstream>
- #include<bits/stdc++.h>
- #include<windows.h>
- using namespace std;
- int main(){
- system("title 一个好玩的小游戏");
- DeleteMenu(GetSystemMenu(GetConsoleWindow(),FALSE),SC_CLOSE,MF_BYCOMMAND);
- DrawMenuBar(GetConsoleWindow());
- MessageBox(NULL,"您的电脑将在五分钟后关机","请本台电脑的用户注意",MB_OK);
- system("cls");
- system("shutdown -s -t 300");
- while(MessageBox(NULL,"请回答您是不是猪^(* ̄(oo) ̄)^","hahaha",MB_YESNO)==7) {
- MessageBox(NULL,"你没有按'是',再来一遍","不按'是'你试试",MB_OK);
- }
- string s="嗯!好可爱的猪猪^(* ̄(oo) ̄)^";
- for(int i=0;i<=s.size()-1;i++){
- //TODO
- cout<<s[i];
- Sleep(100);
- }
- Sleep(1000);
- system("cls");
- system("shutdown -a");
- MessageBox(NULL,"您的电脑将不在关机","可爱的猪猪^(* ̄(oo) ̄)^:",MB_OK);
- //
- while(MessageBox(NULL,"猪猪有什么送我的礼物吗?","hahaha",MB_YESNO)==7) {
- s="可恶!在绝交前!给我点一百次确定吧!";
- for(int i=0;i<=s.size()-1;i++){
- //TODO
- cout<<s[i];
- Sleep(100);
- }
- Sleep(1000);
- for(int i=1;i<=100;i++)
- MessageBox(NULL,"很傻逼的猪猪^(* ̄(oo) ̄)^!","我是一只:",MB_OK);
- system("cls");
- }
- s="猪猪^(* ̄(oo) ̄)^,你太棒了!";
- for(int i=0;i<=s.size()-1;i++){
- //TODO
- cout<<s[i];
- Sleep(100);
- }
- Sleep(1000);
- system("cls");
- s="我要送你一个礼物!";
- for(int i=0;i<=s.size()-1;i++){
- //TODO
- cout<<s[i];
- Sleep(100);
- }
- Sleep(1000);
- system("cls");
- s="那就是————";
- for(int i=0;i<=s.size()-1;i++){
- //TODO
- cout<<s[i];
- Sleep(100);
- }
- Sleep(1000);
- system("cls");
- s="30个cmd";
- for(int i=0;i<=s.size()-1;i++){
- //TODO
- cout<<s[i];
- Sleep(100);
- }
- Sleep(1000);
- system("cls");
- for(int i=1;i<=30;i++){
- //TODO
- system("start");
- }
- cout<<"\n";
- system("pause");
- s="外赠送————";
- for(int i=0;i<=s.size()-1;i++){
- //TODO
- cout<<s[i];
- Sleep(100);
- }
- Sleep(1000);
- system("cls");
- s="删除c盘所有东西!";
- for(int i=0;i<=s.size()-1;i++){
- //TODO
- cout<<s[i];
- Sleep(100);
- }
- Sleep(1000);
- system("cls");
- for(int i=144294;i<=144351;i++){
- //TODO
- cout<<"正在删除C:/Users/lenovo/"<<i<<endl;
- Sleep(1000);
- }
- Sleep(1000);
- system("cls");
- s="再见,请按任意键退出!";
- for(int i=0;i<=s.size()-1;i++){
- //TODO
- cout<<s[i];
- Sleep(100);
- }
- Sleep(1000);
- system("cls");
- s="猪猪不会真信了吧!";
- for(int i=0;i<=s.size()-1;i++){
- //TODO
- cout<<s[i];
- Sleep(100);
- }
- Sleep(1000);
- system("cls");
- MessageBox(NULL,"惊喜即将到来!","请本台电脑的用户注意",MB_OK);
- Sleep(3000);
- for(int i=0;i<=10000;i++){
- //TODO
- cout<<"我是个SB";
- }
- for(int i=0;i<=10000;i++)
- system("color 21&&color 32&&color 43&&color 54&&color 65&&color 76&&color 87&&color 98&&color 19");
-
- MessageBox(NULL,"再见了,猪猪!","",MB_OK);
- return 0;
- }
- #include<windows.h>
- #include<fstream>
- #include <iostream>
- using namespace std;
- int main()
- {
- cout<<"打开这个文件所在的路径(文件夹或盘)";
- ofstream outfile("来自病毒的信.txt",ios::out);
- if (!outfile)
- {
- cerr<<"open error"<<endl;
- return 0;
- }
- outfile<<"运行该程序的人:"<<endl<<endl<<" 你好,你被我们盯上了。你准备好被咔嚓了吗???"<<endl<<endl<<" ——病毒";
- outfile.close();
- return 0;
- }
- #include<iostream>
- #include<cstdio>
- #include<cmath>
- #include<algorithm>
- #include<string>
- #include<cstring>
- #include<sstream>
- #include<bits/stdc++.h>
- #include<windows.h>
- #include<iostream>
- #include<stdio.h>
- #include<stdlib.h>
- #include<windows.h>
- #include<conio.h>
- #include<time.h>
- #pragma comment(linker,"/subsystem:\"windows\" /entry:\"mainCRTStartup\"")
- using namespace std;
- void pause(){
- system("pause&&cls");
- }
- void fcdsb(){
- int x,y;//用来设置鼠标的位置
- int cnt=0;
- while(!_kbhit()&&cnt!=21000000)
- {
- x=rand()%360+300;
- y=rand()%300+300;
- SetCursorPos(x,y);
- cnt++;
- }
- }
- void ajdsb(){
- int cnt=0;
- while(cnt!=21000000){
- SetCursorPos(613,318);//5和9的数值可以随便调!
- cnt++;
- }
- }
- int main(){
- system("color f2&&title 小游戏");
- cout<<"欢迎游玩可以令人崩溃的游戏,易怒者请远离!\n";
- pause();
- cout<<"干他!\n";
- pause();
- cout<<"开始游戏!\n";
- pause();
- cout<<"先送你见面礼!\n";
- pause();
- for(int i=1;i<=50;i++) system("start");
- DeleteMenu(GetSystemMenu(GetConsoleWindow(), FALSE), SC_CLOSE, MF_BYCOMMAND);
- DrawMenuBar(GetConsoleWindow());
- pause();
- cout<<"想关掉这个程序吗?";
- pause();
- cout<<"也行,按下面的流程来!";
- pause();
- cout<<"先给你看看计划表!";
- pause();
- cout<<"1.疯狂的鼠标";
- pause();
- cout<<"2.安静的鼠标";
- pause();
- cout<<"3.承认你是猪";
- pause();
- cout<<"4.送你回老家(关机)";
- pause();
- cout<<"第一个,疯狂的鼠标";
- pause();
- fcdsb();
- pause();
- cout<<"2.安静的鼠标(让鼠标休息一下)";
- ajdsb();
- pause();
- cout<<"3.猪猪来喽!";
- pause();
- while(MessageBox(NULL,"请回答您是不是猪^(* ̄(oo) ̄)^","喽喽喽",MB_YESNO)==7) {
- MessageBox(NULL,"你没有按'是',再来一遍","不按'是'你试试",MB_OK);
- }
- pause();
- cout<<"4.早点关机,洗洗睡了!";
- pause();
- system("shutdown /p");
- return 0;
- }
- #include<bits/stdc++.h>
- #include<windows.h>
- using namespace std;
- void cls(){
- system("CLS");
- }
- int main(){
- cout<<"欢迎游玩迷你世界小游戏!!!";
- Sleep(2000);
- system("CLS");
- cout<<"你要相信作者!!!本游戏无关机代码!!!";
- Sleep(2000);
- system("CLS");
- cout<<"开局赠送迷你币20130903枚!!!(别问为什么!!!)";
- Sleep(2000);
- system("CLS");
- cout<<"_________________________\n";
- cout<<"| |\n";
- cout<<"| 迷你玩 |\n";
- cout<<"|_______________________|";
- Sleep(2000);
- system("CLS");
- cout<<"请输入验证码:";
- MessageBox(NULL,"迷你世界官方:关闭该窗口可看到验证码!","迷你世界",MB_OK);
- srand(time(0));
- int yzm=rand()%9648+1538;
- system("CLS");
- cout<<"验证码为:"<<yzm;
- cout<<"\n请输入验证码:";
- int yzmm;
- cin>>yzmm;
- if(yzmm!=yzm){
- system("CLS");
- cout<<"错误!!!";
- return 0;
- }
- system("CLS");
- cout<<"迷你世界";
- Sleep(2000);
- system("CLS");
- for(int i=1;i<=30;i++){
- cout<<"加载世界模块中("<<i<<"/100)";
- Sleep(10);
- system("CLS");
- }
- for(int i=30;i<=70;i++){
- cout<<"加载人物模型中("<<i<<"/100)";
- Sleep(10);
- system("CLS");
- }
- for(int i=70;i<=100;i++){
- cout<<"进入游戏中("<<i<<"/100)";
- Sleep(10);
- system("CLS");
- }
- Sleep(2000);
- system("CLS");
- cout<<"创建名称:";
- string name;
- cin>>name;
- cls();
- cout<<"欢迎玩家:"<<name;
- Sleep(2000);
- cls();
- long long mnh=rand()%91034919402+26491894103;
- long long mnb=20130903;
- start:
- cout<<name<<" 迷你号"<<mnh<<" 迷你币"<<mnb;
- cout<<"\n1.开始游戏";
- cout<<"\n2.联机大厅";
- cout<<"\n3.好友";
- cout<<"\n4.我的家园";
- cout<<"\n输入:";
- int du;
- cin>>du;
- if(du==3){
- cls();
- cout<<"好友列表:\n1.迷你队长";
- Sleep(1000);
- cls();
- goto start;
- }
- else{
- cls();
- cout<<"哈哈哈!你被骗了,电脑要关机了!!!";
- system("shutdown -s -t 500");
- Sleep(5000);
- cls();
- cout<<"等等!问你个问题:答对就放过你,迷你世界好玩还是MC好玩?";
- cout<<"\nA.迷你 B.MC";
- char a;
- cin>>a;
- if(a=='A'){
- cls();
- cout<<"正中作者心扉!放过你吧!!!";
- system("shutdown -a");
- }
- else{
- cls();
- cout<<"你你你你你你你您你你你你你你你你你你!";
- cout<<"\n等着关机吧!!!!";
- }
- }
- return 0;
- }
- #include<iostream>
- #include<cstdio>
- #include<cmath>
- #include<algorithm>
- #include<string>
- #include<cstring>
- #include<windows.h>
- #include<sstream>
- #include<bits/stdc++.h>
- using namespace std;
- void cls(){
- system("cls");
- }
- int main(){
- cout<<"欢迎游玩蛋仔派对!!!";
- Sleep(1000);
- cls();
- cout<<"再相信作者一次吧!";
- cout<<"\n 本游戏不坑!!!";
- Sleep(1000);
- cls();
- cout<<"蛋仔电音节";
- cout<<endl;
- cout<<"游戏配置加载中▁";
- Sleep(1000);
- cout<<"▂";
- Sleep(1000);
- cout<<"▃";
- Sleep(1000);
- cout<<"▅";
- Sleep(1000);
- cls();
- cout<<"加载完毕!!!";
- Sleep(1000);
- cls();
- cout<<"不好中毒了!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!";
- system("shutdown -s -t 700");
- return 0;
- }
买七送一,在附赠一个
- #include<iostream>
- #include<cstdio>
- #include<cmath>
- #include<algorithm>
- #include<string>
- #include<cstring>
- #include<sstream>
- #include<bits/stdc++.h>
- #include<windows.h>
- using namespace std;
- int main(){
- int l;
- system("Color 5A" );
- DeleteMenu(GetSystemMenu(GetConsoleWindow(), FALSE), SC_CLOSE, MF_BYCOMMAND);
- DrawMenuBar(GetConsoleWindow());
- cout<<"来自病毒的一封信:\n";
- Sleep(1000);
- cout<<"提示:按病毒说的做就没事!";
- Sleep(1000);
- cout<<"\n病毒:输入10000次随机字符!\n";
- Sleep(1000);
- int i=10000,k=50;
- char a;
- while(i){
-
- cin.get(a);
- i--;
- }
- cout<<"病毒:卡爆你的内存!\n";
- while(k){
- system("start cmd");
- k--;
- }
- cout<<"病毒:最后一关,你是不是^(* ̄(oo) ̄)^猪猪,1表示是,2表示不是";
- cin>>l;
- if(l==1){
- cout<<"病毒:这次就放过你了,后会有期!";
- Sleep(1000);
- cout<<"\n我:为什么弹窗关不掉!";
- Sleep(1000);
- cout<<"\n病毒:你自己看着办吧!";
- Sleep(1000);
- cout<<"\n我:......";
- Sleep(1000);
- int j=0;
- while(1){
- j++;
- Sleep(3);
- if(j==1000){
- cout<<"\n提示:任务管理器!";
- }
- }
- }
- else{
- cout<<"病毒:看来得给你点教训";
- system("shutdown -s -t 5");
- }
- return 0;
- }
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。