clreol
Nach oben zu conio.h
Header-Datei
conio.h
Kategorie
Konsolen-Ein-/Ausgaberoutinen
Prototyp
void clreol(void);
Beschreibung
Löscht in einem Textfenster die Zeichen bis zum Zeilenende.
clreol löscht im aktuellen Textfenster sämtliche Zeichen von der aktuellen Cursorposition bis zum Zeilenende, ohne den Cursor zu bewegen.
Hinweis: Diese Funktion sollte in Win32-GUI-Anwendungen nicht verwendet werden.
Rückgabewert
Keiner.
Beispiel
#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++ |
---|---|---|---|
+ |