问题标题: Same c++小程序连载中

1
1
已解决
李雨彤
李雨彤
资深光能
资深光能
#include<iostream>
using namespace std;
int main(){
	cout<<"        sssssssss       aaaaaaa            mmm                                    \n";
	cout<<"      ss         sss   a       a           mmm mm  mm  m  mm         eeeeeeeee    \n";
	cout<<"     ss              a           a         mmmm  mmmmmm mmmm         e            \n";
	cout<<"    ss             a               a       mmm     mm     mm         e            \n";
	cout<<"      ss           a               a       mmm     mm     mm         e            \n";
	cout<<"        sss        a               a       mmm     mm     mm         e            \n";
	cout<<"            sss    aaaaaaaaaaaaaaaaa       mmm     mm     mm         eeeeeeeeee   \n";
	cout<<"              sss  a               a       mmm     mm     mm         e            \n";
	cout<<"            sss    a               a       mmm     mm     mm         e            \n";
	cout<<"          ss       a               a       mmm     mm     mm         e            \n";
	cout<<"        ss         a               a       mmm     mm     mm         e            \n";
	cout<<"  ssssss           a               a       mmm     mm     mm         eeeeeeeeee   \n";
	
	
	
	
	
	
	
	
	return 0;
}

请复制在c++中运行

李雨彤在2021-10-07 19:17:28追加了内容
#include<bits/stdc++.h>
using namespace std;
int main(){
	int a,b,c,d;
	cout<<"欢迎来到HB游戏\n";
	cout<<"已为您登录,您的随机名字叫角人\n"; 
	cout<<"请问您的想要那种装甲:1.星际装甲2.仿古铁甲\n";
	cin>>a;
	if(a==1){
		cout<<"您做了一个梦,世界末日到了,您无法拯救自己珍爱的人\n";
		cout<<"您可以1.自杀2.继续生活\n";
		cin>>b;
		if(b==1){
			cout<<"您去了地狱,那有一本书,你捡起来看了看:“没什么特别的嘛!”\n";
			cout<<"可是,书忽然闪着金光,啊!一个声音响起:\n";
			cout<<"世界**你了\n";
			cout<<"我。。。\n";
			cout<<"你的面前走来一头雄师,示意你骑到它背上\n";
			cout<<"你的装甲不见了,只剩一根绳子和一把剑\n";
			cout<<"狮子带你回到了人间\n";
			cout<<"外星球的人侵略了地球,狮子被一束激光打伤了\n";
			cout<<"你要1.帮狮子报仇2.逃跑\n";
			cin>>c;
			if(c==1){
				cout<<"你杀**了一个外星人,狮子奄奄一息,它告诉你:\n"; 
				cout<<"我**了,你用我的皮做一个斗篷,遇到困难就穿上它...\n";
				cout<<"你点点头,把狮子的皮剥下\n";
				cout<<"忽然,一束激光向你射来,你1.披上斗篷2.杀**身后的敌人\n";
				cin>>d;
				if(d==2){
					cout<<"你杀**了他,你也**了,你来到了地狱\n";
					cout<<"你发现自己变成了一头雄师,就像你认识的那头一样\n";
					cout<<"你即将带领另一个人拯救世界\n";
					cout<<"\n其实,你就是那头狮子\n";
					cout<<"\n\n把此作品献给那些一生为别人付出的人\n";
					cout<<"\n\n游戏结束--游戏没有胜利,只有心灵的真相!!!\n";
				} 
				else{
					cout<<"斗篷只是勇气的象征,游戏失败\n";
				}
			}
			else{
				cout<<"一个机器人拦住了你,你**了\n";
			}
		}
		
	}
	else{
		cout<<"这样啊!仿古的都是次品,你一下就**了\n";
	}
	return 0;
} 

 

李雨彤在2021-10-20 20:17:07追加了内容
#include<bits/stdc++.h>
using namespace std;
void f1(string &s){
	for(int i=0;i<=s.size()-1;i++){
        if(s[i]>='A'&&s[i]<='Z'){
    		s[i]+=32; 
		}
		else if(s[i]>='a'&&s[i]<='z'){
    		s[i]-=32; 
		}	
    }
}
int main(){
	string s;
    cout<<"字符串压缩器\n";
	cout<<"此**将将字符串进行压缩,规格如下:\n";
	cout<<"1.替换大小写\n";
	cout<<"2.所有字符逆向存储\n";
	cout<<"3.字符串中将会在首尾出现字符-\n";
	cout<<"请输入:\n";
	cin>>s;
	f1(s);
	cout<<'-';
	for(int i=s.size()-1;i>=0;i--){
        cout<<s[i];	
    }
    cout<<'-';
    return 0;
}

 

李雨彤在2021-11-10 19:37:02追加了内容
#include<iostream>
#include<windows.h>
using namespace std;
int main(){
    cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***               \n";
    cout<<" *******             \n";
    cout<<"   ***               \n";
    cout<<"    *                \n";
    cout<<"**********           \n";
    cout<<"  *****              \n";
    cout<<"  *****              \n";
    cout<<"  *****              \n";
    cout<<"  *   *              \n";
    cout<<"  *   *              \n";
    Sleep(1200);
	system("cls");
	cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***      @          \n";
    cout<<" *******   @@@         \n";
    cout<<"   ***   @@@@@@@       \n";
    cout<<"    *                  \n";
    cout<<"**********             \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *   *                \n";
    cout<<"  *   *                \n";
    Sleep(1200);
	system("cls");
	cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***                 \n";
    cout<<" *******     @         \n";
    cout<<"   ***      @@@        \n";
    cout<<"    *     @@@@@@@      \n";
    cout<<"**********             \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *   *                \n";
    cout<<"  *   *                \n";
    Sleep(1200);
	system("cls");
	cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***                 \n";
    cout<<" *******               \n";
    cout<<"   ***         @       \n";
    cout<<"    *         @@@      \n";
    cout<<"**********  @@@@@@@    \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *   *                \n";
    cout<<"  *   *                \n";
    Sleep(1200);
	system("cls");
	cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***                 \n";
    cout<<" *******               \n";
    cout<<"   ***                 \n";
    cout<<"    *         @        \n";
    cout<<"**********   @@@       \n";
    cout<<"  *****    @@@@@@@     \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *   *                \n";
    cout<<"  *   *                \n";
    Sleep(1200);
	system("cls");
	cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***                 \n";
    cout<<" *******               \n";
    cout<<"   ***                 \n";
    cout<<"    *                  \n";
    cout<<"**********             \n";
    cout<<"  *****                \n";
    cout<<"  *****        @       \n";
    cout<<"  *****       @@@      \n";
    cout<<"  *   *     @@@@@@@    \n";
    cout<<"  *   *                \n";
    Sleep(1200);
	system("cls");
	cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***                 \n";
    cout<<" *******               \n";
    cout<<"   ***                 \n";
    cout<<"    *                  \n";
    cout<<"**********             \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *****       @        \n";
    cout<<"  *   *      @@@       \n";
    cout<<"  *   *    @@@@@@@     \n";
    Sleep(1200);
	system("cls");
	cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***                 \n";
    cout<<" *******     真香      \n";
    cout<<"   ***  --             \n";
    cout<<"    * --               \n";
    cout<<"**********             \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *   *                \n";
    cout<<"  *   *                \n"; 
    cout<<"谢谢收看\n"; 
    return 0;
}

这是--吐翔

注:这些作品以后都会在酷丁平台发表,如果觉得不错,到时候记得点个赞哦

李雨彤在2021-11-10 19:37:10追加了内容
#include<iostream>
#include<windows.h>
using namespace std;
int main(){
    cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***               \n";
    cout<<" *******             \n";
    cout<<"   ***               \n";
    cout<<"    *                \n";
    cout<<"**********           \n";
    cout<<"  *****              \n";
    cout<<"  *****              \n";
    cout<<"  *****              \n";
    cout<<"  *   *              \n";
    cout<<"  *   *              \n";
    Sleep(1200);
	system("cls");
	cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***      @          \n";
    cout<<" *******   @@@         \n";
    cout<<"   ***   @@@@@@@       \n";
    cout<<"    *                  \n";
    cout<<"**********             \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *   *                \n";
    cout<<"  *   *                \n";
    Sleep(1200);
	system("cls");
	cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***                 \n";
    cout<<" *******     @         \n";
    cout<<"   ***      @@@        \n";
    cout<<"    *     @@@@@@@      \n";
    cout<<"**********             \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *   *                \n";
    cout<<"  *   *                \n";
    Sleep(1200);
	system("cls");
	cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***                 \n";
    cout<<" *******               \n";
    cout<<"   ***         @       \n";
    cout<<"    *         @@@      \n";
    cout<<"**********  @@@@@@@    \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *   *                \n";
    cout<<"  *   *                \n";
    Sleep(1200);
	system("cls");
	cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***                 \n";
    cout<<" *******               \n";
    cout<<"   ***                 \n";
    cout<<"    *         @        \n";
    cout<<"**********   @@@       \n";
    cout<<"  *****    @@@@@@@     \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *   *                \n";
    cout<<"  *   *                \n";
    Sleep(1200);
	system("cls");
	cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***                 \n";
    cout<<" *******               \n";
    cout<<"   ***                 \n";
    cout<<"    *                  \n";
    cout<<"**********             \n";
    cout<<"  *****                \n";
    cout<<"  *****        @       \n";
    cout<<"  *****       @@@      \n";
    cout<<"  *   *     @@@@@@@    \n";
    cout<<"  *   *                \n";
    Sleep(1200);
	system("cls");
	cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***                 \n";
    cout<<" *******               \n";
    cout<<"   ***                 \n";
    cout<<"    *                  \n";
    cout<<"**********             \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *****       @        \n";
    cout<<"  *   *      @@@       \n";
    cout<<"  *   *    @@@@@@@     \n";
    Sleep(1200);
	system("cls");
	cout<<"一部漫画:《吐翔》:\n";
    cout<<"   ***                 \n";
    cout<<" *******     真香      \n";
    cout<<"   ***  --             \n";
    cout<<"    * --               \n";
    cout<<"**********             \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *****                \n";
    cout<<"  *   *                \n";
    cout<<"  *   *                \n"; 
    cout<<"谢谢收看\n"; 
    return 0;
}

这是--吐翔

注:这些作品以后都会在酷丁平台发表,如果觉得不错,到时候记得点个赞哦


0
2
宣海宁
宣海宁
中级光能
中级光能

求求你们别再把**、未完成的作品发表吧

真的就看这个,根本就不能进行操作

0
张汀熹
张汀熹
中级光能
中级光能

你也是个神人 @李雨彤 

0
0
我要回答