这次我带给大家的是C++整人代码大全,具体如下:
温馨提示:
朋友使用可能会破坏朋友之间的友谊,请谨慎使用
无限弹窗
#include<bits/stdc++.h>
using namespace std;
int main(){
while(1)system("start cmd");
return 0;
}
危险性:低
解决方法:一直按Alt+F4
鼠标乱飘
#include<bits/stdc++.h>
#include<windows.h>
#pragma comment(linker,"/subsystem:"Windows"/entry:"mainCRTStartup"")
using namespace std;
int main() {
system("title 鼠标累死-伪");//改窗口名字
system("color 40");
int x,y;
while(1)
{
x=rand()%801;
y=rand()%601;SetCursorPos(x,y);
}
return 0;
}
危险性:低
解决方法:任务管理器
闪眼
#include<windows.h>
#include<bits/stdc++.h>
using namespace std;
int main(){
while(1){
system("color b3");
system("color c3");
system("color d3");
system("color e3");
system("color f3");
system("color 63");
system("color 33");
system("color 53");
system("color 83");
}
}
危险性:低
提示:切勿按F11
解决方法:直接关闭
尾声
本文为原创,转载请说明出处。
制作不易,三联支持一下。