
#include#include #include #include #include using namespace std; int main(){char s[100]="I IOVE YOU"; char *s1=s;system("color F4");//1 blue;2 yellow;4 red;5 purple;6 yellow;7 灰色;system("mode con cols=166 lines=22"); double x,y,a; for(y=1.5;y>=-1.5;y=y-0.1214) { for(x=-1.5;x<1.5;x=x+0.05) {a=pow(x,2)+pow(y,2)-1; if(pow(a,3)-pow(x,2)*pow(y,3)<=0) {cout<<'*'; Sleep(1); } else cout<<" "; } cout< 欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)