clreol
conio.h:インデックス への移動
ヘッダーファイル
conio.h
カテゴリ
コンソール入出力ルーチン
プロトタイプ
void clreol(void);
説明
テキストウィンドウで行末までをクリアします。
clreol は,現在のテキストウィンドウで,カーソル位置から行末までのすべての文字をクリアします。カーソルは移動しません。
メモ: Win32 GUI アプリケーションでは,この関数を使用しないでください。
戻り値
なし。
例
#include <conio.h>
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;
}
移植性
POSIX | Win32 | ANSI C | ANSI C++ |
---|---|---|---|
+ |