最佳答案:
textattr是设置文本属性的一类函数。
详情介绍
textattr是设置文本属性的一类函数。

- 中文名
- textattr
- 外文名
- textattr
- 功 能
- 设置文本属性
- 用 法:
- void textattr(int attribute);
函数名: textattr
功 能: 设置文本属性
用 法: void textattr(int attribute);
程序例:
#include <conio.h>

int main(void)
{
int i;
clrscr();
for (i=0; i<9; i++)
{

textattr(i + ((i+1) << 4));
cprintf("This is a testrn");
}
return 0;
}
免责声明:本平台仅供信息发布交流之途,请谨慎判断信息真伪。如遇虚假诈骗信息,请立即举报
举报