> Online tutorial : clreol
Showing posts with label clreol. Show all posts
Showing posts with label clreol. Show all posts

clreol


 Clears to end of line in text window

 Declaration:

void <a href="http://gan.doubleclick.net/gan_click?lid=41000000035692252&pubid=21000000000397534">clreol</a>(void);

 Remarks:


clreol clears all characters from the cursor position to the end of the line
within the current text window, without moving the cursor.

 Return Value:

None


 Example:

 #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;
 }