delline,是一個函式名稱,功 能為在文本視窗中刪去一行
基本介紹
- 中文名:delline
- 實質:函式
- 功 能:在文本視窗中刪去一行
- 用 法:void delline(void);
簡介,程式例,
簡介
函式名: delline
功 能: 在文本視窗中刪去一行
用 法: void delline(void);
程式例
#include<conio.h>
#include<cstdio>
#include<iostream>
using namespace std;
int main()
{
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 */
getchar();
delline();
getchar();
return 0;
}
