请高手指点!
刚学C语言随便编了一个图片。但不知如何把汉字插进去,请高手给于指点!谢谢!程序如下:
#include "graphics.h"
#include "stdio.h"
main()
{ int driver=DETECT,mode;
int x,y,i,k,a=100,b=5;
initgraph(&driver,&mode,"");
x=y=a;
for(i=0;i<66;i++)
{ setcolor(i++);
setbkcolor(0);
box(x,y);
circle(310,200,100+k*i);
settextstyle(1,0,10);
outtextxy(270,200,"feng zheng");
x+=b;
y-=b;
delay(2000000000);
delay(2000000000);
delay(2000000000);
delay(2000000000);
cleardevice();
}
}
int box(int x,int y)
{
line(310,200-y,310-x,200);
line(310-x,200,310,200+y);
line(310,200+y,310+x,200);
line(310+x,200,310,200-y);
}