textmode
函数名: textmode
功 能: 将屏幕设置成文本模式
用 法: void textmode(int mode);
头文件:conio.h
程序例:
#include <stdio.h>
#include <conio.h>
int main(void)
{
textmode(BW80);
cprintf("BW80");
getch();
textmode(C80);
cprintf("C80");
getch();
textmode(BW40);
cprintf("BW40");
getch();
textmode(C40);
cprintf("C40");
getch();
textmode(MONO);
cprintf("MONO");
getch();
return 0;
}