1-1 欢迎来的C++世界
Time Limit: 1000MS
Memory Limit: 65536KB
Problem Description
VC++开发环境,创建一个控制台应用程序,利用”图形所组成。
Input
如示例输出所示,输出共有34个 输出C++!”的图形。
Example Input
Example Output
********************************** * * * Welcome to * * * * *** * * * * * * * * * * * * * * * *** *** * * * * * * * * * * * * * *** * * * * **********************************
#include <iostream>
using namespace std;
int main()
{
cout<<"**********************************"<<endl;
cout<<"* *"<<endl;
cout<<"* Welcome to *"<<endl;
cout<<"* *"<<endl;
cout<<"* *** * *"<<endl;
cout<<"* * * * *"<<endl;
cout<<"* * * * * *"<<endl;
cout<<"* * *** *** * *"<<endl;
cout<<"* * * * * *"<<endl;
cout<<"* * * *"<<endl;
cout<<"* *** * *"<<endl;
cout<<"* *"<<endl;
cout<<"**********************************"<<endl;
return 0;
}
C++欢迎界面程序
本文介绍了一个使用C++编写的简单控制台程序,该程序输出一个欢迎信息的图形界面。通过具体的代码示例展示了如何在VC++环境中创建并运行此类程序。
1万+

被折叠的 条评论
为什么被折叠?



