#include<graphics.h>
#include<stdio.h>
void main()
{
int gd=DETECT,gm;
initgraph(&gd,&gm,"
\\tc\\bgi");
"设置图形的初始化驱动"
cleardevice(); "清屏"
setbkcolor(RED);" 设置背景色"
setcolor(BLUE); "设置字体色"
outtextxy(x,y,"aaaaaa"); "x,y为你准备输出内容到哪里的屏幕坐标,如outtextxy(33,44,"aaaa")"
"outtextxy()是在图形界面下的输出函数"
}