movetext()函数

  
函数名: movetext   
功 能: 将屏幕文本从一个矩形区域拷贝到另一个矩形区域   
用 法: int movetext(int left, int top, int right, int bottom,   int newleft, int newtop);程序例:   
#include <conio.h>   
#include <string.h>   
int main(void)   
{   
char *str = "This is a test string";   
clrscr();   
cputs(str);   
getch();   
movetext(1, 1, strlen(str), 2, 10, 10);   
getch();   
return 0;   
}
posted @ 2010-12-28 12:58  潜龙9527  阅读(191)  评论(0编辑  收藏  举报