#include<stdlib.h> void color(int x); int main(void) { { color(14); printf( " +\n" " +++\n" ); } char tree[500] = " +-+\n +*=*+\n +**-**+\n +*-*+\n +**=**+\n +-**-**-+\n +-***=***-+\n +-***-***-+\n +-**-**=***-+\n +-***_*...
voidlayer(intx,inty,intnum,intcol) 函数triangle 画出小三角形,作为点缀; voidtriangle(intx,inty,intnum,intcol) 函数triangleRight 和 triangleLeft 画出圣诞树顶部的蝴蝶结; voidtriangleRight(doublex,doubley,doublenum,doublecol);voidtriangleLeft(doublex,doubley,doublenum,doublecol); 函数hideCursor 负...
//圣诞树动画 drawImg(tree.x, tree.y, imgTree + tree.frame); //圣诞老人滑雪动画 drawImg(oldMan.x, oldMan.y, oldMan.w, oldMan.h, &imgOldman, oldMan.frame *220, 0); //绘制雪花 for (int i = 0; i < 50; i++) { drawImg(snow[i].x, snow[i].y, snow[i].w, snow[i...
#include<stdlib.h> void color(int x); int main(void) { { color(14); printf( " +\n" " +++\n" ); } char tree[500] = " +-+\n +*=*+\n +**-**+\n +*-*+\n +**=**+\n +-**-**-+\n +-***=***-+\n +-***-***-+\n +-**-**=***-+\n +-***_*...
#include<stdlib.h> void color(int x); int main(void) { { color(14); printf( " +\n" " +++\n" ); } char tree[500] = " +-+\n +*=*+\n +**-**+\n +*-*+\n +**=**+\n +-**-**-+\n +-***=***-+\n +-***-***-+\n +-**-**=***-+\n +-***_*...