功 能: 在文本視窗中清除字元到行末
基本介紹
- 外文名:clreol
- 功 能:在文本視窗中清除字元到行末
- 用 法:void clreol(void);
- 用 法: void clreol(void)
函式名: clreol
功 能: 在文本視窗中清除字元到行末
用 法: void clreol(void);
程式例:
#include
int main(void)
{
clrscr();
cprintf("The function CLREOL clears all characters from the\r\n");
cprintf("cursor position to the end of the line within the\r\n");
cprintf("current text window, without moving the cursor.\r\n");
cprintf("Press any key to continue . . .");
gotoxy(14, 4);
getch();
clreol();
getch();
return 0;
}