Borland C++ reference

delline

raw OCR

Deletes line in text window.

Defined in header <conio.h>

Syntax

#include <conio.h>
void delline(void);

Portability

DOSUNIXWindowsANSI CC++ only
■

Remarks

delline deletes the line containing the cursor and moves all lines below it one line up. delline operates within the currently active text window.

Return value

None.

See also

Example

#include <conio.h>

int main(void)
{
   clrscr0 ;
   cprintfC'The function DELLINE deletes the line containing the\r\n");
   cprintf("cursor and moves all lines below it one line up.\r\n");
   cprintf("DELLINE operates within the currently active text\r\n");
   cprintf("window.  Press any key to continue . . .");

   /* move cursor to the 2nd line, 1st column */
   gotoxy(l,2);
   getchO;
   delline0 ;
   getchO;
   return 0;

Differences from modern implementations

Nothing recorded yet.

Modern references

These are search links, not yet checked by hand.