一只可爱的彩虹猫你想拥有吗?让我们用C++来把它画出来吧
代码实现:
#include<bits/stdc++.h>
using namespace std;
int main() {
cout<<" # # # # # # # # # # # # #"<<endl;
cout<<" # #~~~~~~~~~~~~~~~~~~~~"<<endl;
cout<<" ## # ## #"<<endl;
cout<<" # # # # # #~~~~~~~~~~~~~~~~~~~~"<<endl;
cout<<" # # # # # # # # #"<<endl;
cout<<" # # # # # # #~~~~~~~~~"<<endl;
cout<<" # # # # # #"<<endl;
cout<<" # # # # # # #~~~~~~~~~~~~"<<endl;
cout<<" # |__|__| # #"<<endl;//嘴巴我用线条做了一下弊....
cout<<" # # # # # # # # # # # # # # # # ~~~~~~~~~~~~~~~~~~~~"<<endl;
cout<<" # # # # # # # # "<<endl;
return 0;
}
输出效果:
这是本人第一次用C++画像素画,可能有点丑,请多多包涵!!
如果大家喜欢的话,请多多三连支持一下哦!!!