AI迅剑 2023-04-14 21:13 采纳率: 85.7%
浏览 24
已结题

关于#C++#的问题,如何解决?

额我想用C++做一个关于蔡徐坤打篮球的,开头我已经做好了,就是后面的过程不怎么会编,向大师们请教

#include<bits/stdc++.h>
using namespace std;
string a[1000000]={
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",
    "#####################################################################################################################################",\
    };
void cls(void){
    system("cls");
}
void wait(void){
    for(int i=0;i<999999;i++){
        for(int i=0;i<100;i++){
            cout<<"";
        }
    }
}//等待函数(这不带sleep) 
void g(void){
    wait();
    cls();
    cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<"                                   ";
}//。。。。。。 
void start(void){
    system("mode con cols=100 lines=50");
    system("color f0");
    g();
    cout<<"沈阳全民制作大家好";
    g();
    cout<<"我是练习时长两年半的练习生";
    g();
    cout<<"蔡徐坤!";
    g();
    cout<<"喜欢唱,跳,rap";
    g();
    cout<<"篮球!";
    g();
    cout<<"music!";
    g();
}//开幕雷击函数 
void P(void){
    for(int i=0;i<50;i++){
        cout<<a[i]<<endl;
    }
}
int main(){
    start();
    system("mode con cols=200 lines=123");
    wait();
    wait();
    wait();
    system("color 70");
    P();
    return 0;
}

  • 写回答

1条回答 默认 最新

报告相同问题?

问题事件

  • 系统已结题 4月24日
  • 已采纳回答 4月16日
  • 创建了问题 4月14日

悬赏问题

  • ¥20 测距传感器数据手册i2c
  • ¥15 RPA正常跑,cmd输入cookies跑不出来
  • ¥15 求帮我调试一下freefem代码
  • ¥15 matlab代码解决,怎么运行
  • ¥15 R语言Rstudio突然无法启动
  • ¥15 关于#matlab#的问题:提取2个图像的变量作为另外一个图像像元的移动量,计算新的位置创建新的图像并提取第二个图像的变量到新的图像
  • ¥15 改算法,照着压缩包里边,参考其他代码封装的格式 写到main函数里
  • ¥15 用windows做服务的同志有吗
  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法