§ 功能 在文本窗口中清除字符到行末 § 用法 void clreol(void); § 程序例 #include int main(void) { clrscr(); cprintf("The function CLREOL clears all characters from the\\r\"); cprintf("cursor position to the end of the line within the\\r\"); cprintf("current text window, without moving the cursor.\\r\"); cprintf("Press any key to continue . . ."); gotoxy(14, 4); getch(); clreol(); getch(); return 0; } |