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>insline() insert blank line in text window</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 insline()                Insert Blank Line in Text Window

 #include   <conio.h>

 void       insline(void);

    insline() inserts a blank line in the text window at the current
    cursor position. The current text background color is used. All the
    lines that were at and below the cursor move down one line. The
    bottom line scrolls off the bottom of the screen.

       Returns:     Nothing.

   Portability:     IBM PC and compatibles only.

   -------------------------------- Example ---------------------------------

    The following statements print nine lines of characters then insert a
    blank line at the fifth line.

           #include <conio.h>

           main()
           {
               int x, y;

               gotoxy(1,1);
               for (y = 0; y < 9; y++) {
                   for (x = 0; x < 19; x++)
                       printf("%c",65+y);
                   printf("\n");
               }
               getch();
               gotoxy(1,5);
               insline();
           }



See Also: clreol() delline() window()

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