模拟win98
  • 板块灌水区
  • 楼主汪之常清
  • 当前回复8
  • 已保存回复8
  • 发布时间2020/9/5 19:41
  • 上次更新2023/11/5 13:41:13
查看原帖
模拟win98
267359
汪之常清楼主2020/9/5 19:41

求助一下这个如何让输出的东西不闪烁

#include<bits/stdc++.h>
#include"TAN_CS.h"
int main()
{
	cout<<"                           windoows 10xxp is running\n\n\n\n";
	Sleep(2000);
	system("cls"); 
	for(int i=0;i<3;i++)
	{
		cout<<"                           windoows 10xxp is running\n\n\n\n";
		cout<<"#";
		Sleep(20);
		system("cls");
		cout<<"                           windoows 10xxp is running\n\n\n\n";
		cout<<"##";
		Sleep(20);
		system("cls");
		for(int j=0;j<=85;j++)
		{
			cout<<"                           windoows 10xxp is running\n\n\n\n";
			for(int k=0;k<j;k++)
				cout<<" ";
			cout<<"#########";
			Sleep(20);
			system("cls");
		}
		
	}
	cout<<"All you babe u sent to me iu lack of heat, French pre-heated hot dogs have a wide range vu hot five breasts everyone vv like windI go Greg but send be all warm and warm retro like hungry go buy extra to hot dance official twenty-five iv the rest invaded person to waste France enters Russia fever go to distant place that has been repeatedly defeated The PLA officers felt that since the people who joined the hustle and bustle today, it’s okay to heat up when everyone meets them. Hey, don’t I have less revenge\n\n";
	Sleep(2000);
	system("cls");
	printf("System file reading:  ");
	Sleep(2000);
	SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 42);
	printf("OK");
	SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 7);
	Sleep(1000);
	system("cls");
   return 0;
}
2020/9/5 19:41
加载中...