-
puttext
鎖定
- 中文名
- puttext
- 功 能
- 將文本從存儲區拷貝到屏幕
- 用 法
- int puttext(int left, int top, int right, int bottom, void *source)
- 性 質
- 函數
主要例題
程序例:
#include <conio.h>
int main(void)
{
char buffer[512];
/* put some text to the console */
clrscr();
gotoxy(20, 12);
cprintf("This is a test. Press any key to continue ...");
getch();
/* grab screen contents */
gettext(20, 12, 36, 21,buffer);
clrscr();
/* put selected characters back to the screen */
gotoxy(20, 12);
puttext(20, 12, 36, 21, buffer);
getch();
return 0;
}
- 詞條統計
-
- 瀏覽次數:次
- 編輯次數:11次歷史版本
- 最近更新: 星V_S痕