insline
conio.h:インデックス への移動
ヘッダーファイル
conio.h
カテゴリ
コンソール入出力ルーチン
プロトタイプ
void insline(void);
説明
テキストウィンドウに空白行を挿入します。
insline は,現在のテキスト背景色を使用して,テキストウィンドウ内のカーソル位置に空白行を挿入します。空白行より下の行は 1 行ずつ下に移動し,下端の行はウィンドウの下端より下になります。
メモ: Win32 GUI アプリケーションでは,この関数を使用しないでください。
戻り値
なし。
例
#include <conio.h>
int main(void)
{
clrscr();
cprintf("INSLINE inserts an empty line in the text window\r\n");
cprintf("at the cursor position using the current text\r\n");
cprintf("background color. All lines below the empty one\r\n");
cprintf("move down one line and the bottom line scrolls\r\n");
cprintf("off the bottom of the window.\r\n");
cprintf("\r\nPress any key to continue:");
gotoxy(1, 3);
getch();
insline();
getch();
return 0;
}
移植性
POSIX | Win32 | ANSI C | ANSI C++ |
---|---|---|---|
+ |