delline()函数
函数名: delline
功 能: 在文本窗口中删去一行
用 法: void delline(void);
程序例:
#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);
getch();
delline();
getch();
return 0;
}
功 能: 在文本窗口中删去一行
用 法: void delline(void);
程序例:
#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);
getch();
delline();
getch();
return 0;
}
----夫英雄者,胸怀大志,腹有良谋,有包藏宇宙之机,吞吐天地之志者也。