什么是textbackground

核心提示函数名: textbackground功 能: 选择新的文本背景颜色用 法: void textbackground(int color);头文件: 包含在conio.h头文件中,但是在vc的conio.h中找不到这个函数,TC中有;中文名

最佳答案:

函数名: textbackground

详情介绍

函数名: textbackground

功 能: 选择新的文本背景颜色

用 法: void textbackground(int color);

头文件: 包含在conio.h头文件中,但是在vc的conio.h中找不到这个函数,TC中有;

中文名
textbackground
外文名
textbackground
功 能
选择新的文本背景颜色
用 法
void textbackground(int color

程序例:

#include“stdio.h”

#include“conio.h”

int main(void)

{

int i, j;

clrscr();

for (i=0; i<9; i++)

{

for (j=0; j<80; j++)

cprintf("C");

cprintf("rn");

textcolor(i+1);

textbackground(i);

}

getch();

return 0;

}

 
友情链接
鄂ICP备19019357号-22