delline

delline

delline - 解釋,函數名: delline,功 能: 在文本窗口中刪去一行,用 法: void delline(void);

解釋


函數名: delline
功 能: 在文本窗口中刪去一行
用 法: void delline(void);

程序例


#include
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);
getch();
delline();
getch();
return 0;
}