textbackground
函数名: textbackground
功 能: 选择新的文本背景颜色
用 法: void textbackground(int color);
头文件: 包含在conio.h头文件中,但是在vc的conio.h中找不到这个函数,TC中有;
程序例:
#include
int main(void)
{
int i, j;
clrscr();
for (i=0; i<9; i++)
{
for (j=0; j<80; j++)
cprintf("C");
cprintf("
");
textcolor(i+1);
textbackground(i);
}
return 0;
}