跳到正文

个人记录

O(∩_∩)O哈哈~

高山爬行者约 2 分钟
原文
文章信息与版本

文章信息

发布
2019年10月7日
收录
2025年12月12日
更新
2026年11月15日
篇幅
约 2 分钟
获赞
1

版本

  1. v1当前
C++
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
void print(string str1,int b)
{
	for (int i=0;i<str1.size();++i)
	{
		cout<<str1[i];
		Sleep(b);
	}
	return;
}
int main()
{
	cout<<"Microsoft Windows [版本 6.1.7601]"<<endl;
	cout<<"版权所有 (c) 2009 Microsoft Corporation。保留所有权利。"<<endl;
	cout<<endl;
	while(1)
	{
		cout<<"C:/Users/Administrator>";
		string s;
		getline(cin,s);
		if (s=="操!不开机老子就砸了你!")
		{
			Sleep(1000);
			cout<<endl<<endl;
			cout<<"                          Loading Windows 2010";
			cout<<endl<<endl;
			print(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>",100);
			Sleep(1000);
			system("cls");
		}
		else
		{
			cout<<"‘"<<s<<"’"<<"不是内部或外部命令,也不是可运行的程序"<<endl;
			cout<<"或批处理文件。"<<endl;
	        cout<<endl; 
		}
	}
	Sleep(50); 
}~~~
原文
存档评论1 条抓取于