跳到正文

个人记录

病毒代码c++

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

文章信息

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

版本

  1. v1当前
C++
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main(){
	if(MessageBox(NULL,"是否开启弹窗?","未知信息",MB_YESNO)==IDYES){
	    while(true){
	    	MessageBox(NULL,"弹窗病毒","未知信息",MB_OK);
		}

	}
	else{
		while(true){
			MessageBox(NULL,"你关不掉我!","未知信息",MB_OK);
		}
	}
    return 0;
}
原文