码迷,mamicode.com
首页 > 其他好文 > 详细

爱,就要说出来

时间:2020-05-25 15:10:44      阅读:53      评论:0      收藏:0      [点我收藏+]

标签:bsp   海南   ati   pre   mesh   out   include   namespace   int   

你最近过的还好吗 我故事里的那个她
海南的冬天没有雪 但不影响他在开着花
自从你走后 我回到了那个没有你的家
就是在这个地方 我说我要娶了她
你是我这一辈子 最最难忘的关卡
我抱着吉他 被暴雨淋伤
到你家楼下 四处游荡
做了一个只会歌唱的傻瓜
你才不是一个没人要的女同学

#include <iostream>
#include <windows.h>
#include <stdio.h>
#define stoptimeshort 40
#define stoptimelong 100
using namespace std;
int main()
{
    //////////////////
    char ch[10];
    int f[9][36] = {0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1,
                    0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1,
                    0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1,
                    0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1,
                    0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1,
                    0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1,
                    0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1,
                    0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0,
                    0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0};
    int s[9][21] = {
        0,
        0,
        0,
        1,
        1,
        0,
        0,
        0,
        0,
        0,
        1,
        1,
        0,
        0,
        0,
        0,
        1,
        1,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        1,
        0,
        1,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        1,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        1,
        0,
        0,
        0,
        1,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
    };
    int t[9][22] = {
        0,
        0,
        0,
        1,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        1,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        1,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        1,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
        0,
        0,
        0,
        0,
        0,
        0,
    };
    system("title I Love You");
    //////////////////
    printf("%s", "        ");
    Sleep(stoptimelong);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "实\n");
    ////////////////////////////////
    printf("%s", "        ");
    system("color 72");
    Sleep(stoptimelong);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "话\n");
    ///////////////////////////
    printf("%s", "        ");
    system("color 79");
    Sleep(stoptimelong);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "里\n");
    /////////////////////////////
    printf("%s", "        ");
    system("color 7c");
    Sleep(stoptimelong);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "是\n");
    ///////////////////////////////
    printf("%s", "        ");
    system("color 7d");
    Sleep(stoptimelong);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "说\n");
    ///////////////////////////////
    printf("%s", "        ");
    system("color 7e");
    Sleep(stoptimelong);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "天\n");
    //////////////////////////////
    printf("%s", "        ");
    system("color 7a");
    Sleep(stoptimelong);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "气\n");
    ///////////////////////////////
    printf("%s", "        ");
    system("color 7b");
    Sleep(stoptimelong);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "说:\n");
    ///////////////////////////////
    printf("%s", "        ");
    system("color 79");
    Sleep(stoptimelong);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "…\n");
    /////////////////////////////////
    printf("%s", "        ");
    system("color 72");
    Sleep(stoptimelong);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "…\n");
    //////////////////////////////////
    Sleep(stoptimelong);
    system("color fc");
    for (int i = 0; i < 9; i++)
    {
        cout << "        ";
        for (int j = 0; j < 36; j++)
        {
            if (f[i][j] == 0)
                cout << " ";
            else
                cout << "*";
        }
        cout << endl;
        Sleep(100);
    }
    /////////////////////////////////////
line:
    printf("%s", "        ");
    Sleep(stoptimelong);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "");
    Sleep(stoptimeshort);
    printf("%s", "?(Y/N)");
    ////////////////////////////////////
    cout << endl;
    cout << "        ";
    cin >> ch;
    Sleep(stoptimelong);
    if (ch[0] == y || ch[0] == Y)
    {
        system("color fc");
        for (int i = 0; i < 9; i++)
        {
            cout << "        ";
            for (int j = 0; j < 21; j++)
            {
                if (s[i][j] == 0)
                    cout << " ";
                else
                    cout << "*";
            }
            cout << endl;
            Sleep(100);
        }
        Sleep(3000);
    }
    else
    {
        if (ch[0] == n || ch[0] == N)
        {
            system("color 0f");
            for (int i = 0; i < 9; i++)
            {
                cout << "        ";
                for (int j = 0; j < 22; j++)
                {
                    if (t[i][j] == 0)
                        cout << " ";
                    else
                        cout << "*";
                }
                cout << endl;
                Sleep(100);
            }
            printf("%s", "        ");
            Sleep(stoptimelong);
            printf("%s", "");
            Sleep(stoptimeshort);
            printf("%s", "");
            Sleep(stoptimeshort);
            printf("%s", "");
            Sleep(stoptimeshort);
            printf("%s", "……\n");
        }
        else
            goto line;
    }
    system("color 0f");
    system("pause");
}

 

爱,就要说出来

标签:bsp   海南   ati   pre   mesh   out   include   namespace   int   

原文地址:https://www.cnblogs.com/stu-jyj3621/p/12956790.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!