|
Description
This example moves text
from location on a console window
to another
Code
/*this example
moves some text from location*/
/*1,1 to 30,1 to location 1,20*/
#include <conio.h>
#include <stdio.h>
int main(void)
{
clrscr();
printf("Here is some
text we will move.\n");
printf("Press key to move the
text.\n");
getch();
/*parameters are left,top,right,bottom,destleft,desttop*/
movetext(1,1,30,1,1,20);
return 0;
}
Information
tested using LCC Win
32 and Windows XP
|