请输入您要查询的百科知识:

 

词条 clreol
释义

§ 功能

在文本窗口中清除字符到行末

§ 用法

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;

}

随便看

 

百科全书收录594082条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2024/9/21 22:55:52