delline

De RAD Studio
Aller à : navigation, rechercher

Remonter à Conio.h - Index


Header File

conio.h

Category

Console I/O Routines

Prototype

void delline(void);

Description

Deletes line in text window.

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

Remarque :  Do not use this function in Win32 GUI applications.

Return Value

None.

Example



 #include <conio.h>
 int main(void)
 {
    clrscr();
    cprintf("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 . . .");
    gotoxy(1,2);  /* Move the cursor to the second line and first column */
    getch();
    delline();
    getch();
    return 0;
 }



Portability



POSIX Win32 ANSI C ANSI C++

+