Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>clreol() clear screen to end of line</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 clreol()                Clear Screen to End of Line

 #include   <conio.h>

 void       clreol(void);

    clreol() erases all the characters on a line from the current cursor
    position to the end of the line within the current text window. The
    cursor position remains the same.

       Returns:     Nothing.

   Portability:     IBM PC and compatibles only.

   -------------------------------- Example ---------------------------------
    The following statements print the letters of the alphabet on one
    line then erase the last half of them.

           #include <conio.h>

           main()
           {
               int x;

               gotoxy(10,10);
               for (x = 65; x < 91; x++)
                    printf("%c",x);
               getch();
               gotoxy(20,10);
               clreol();
           }

See Also: clrscr() delline() window()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson