(Text mode): Deletes line in text window
Declaration:
void delline(void);
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
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;
}
0 comments:
Post a Comment