跳到正文

休闲·娱乐

嗯对大概就是超级抽象的DeepSleep。

xiaoming_mjh约 2 分钟
原文
文章信息与版本

文章信息

发布
2025年10月18日
收录
2026年1月29日
更新
2026年11月16日
篇幅
约 2 分钟

版本

  1. v2当前
  2. v1

嗯对大概就是DeepSleep吧。 嗯对DeepSleep是个“智能”的AI。

C++
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;

int main(){
	bool pre=false;
	int sd=0;
	cout<<"欢迎使用DeepSleep v1.1.4.5"<<endl;
	cout<<"当前非最新版本,是否更新(Y/N)"<<endl;
	while(true){
		char a;
		cin>>a;
		if(a=='Y'||a=='y'){
			system("cls");
			cout<<"安装包下载中..."<<endl;
			Sleep(3300);
			system("cls");
			cout<<"资源解压中..."<<endl;
			Sleep(5000);
			system("cls");
			cout<<"资源分析中..."<<endl;
			Sleep(4000);
			for(int i=0;i<=100;i++){
				system("cls");
				cout<<"更新中 "<<i<<"%"<<endl;
				Sleep(30);
			}
			system("cls");
			cout<<"更新成功!1s后启动系统"<<endl;
			Sleep(1000);
			system("cls");
			cout<<"欢迎使用DeepSleep v1.9.8.1"<<endl;
			pre=true;
			break;
		}
		if(a=='N'||a=='n'){
			break;
		}
	}
	while(true){
		string in;
		cout<<":";
		cin>>in;
		Sleep(5000);
		cout<<"服务器繁忙,请稍后再试"<<endl;
		if(pre) sd++;
		if(sd>=5){
			cout<<"服务器连接丢失!进行网络诊断中..."<<endl;
			Sleep(3000);
			cout<<"网络连接成功!"<<endl;
		}
	}

	return 0;
}

嗯对是超级抽象的代码和效果。

原文
抓取于
  1. xiaoming_mjh

    嗯对就是超级抽象。