/*********************************/
/* text_window program */
/* author:xwlee */
/* time: 06/11/2 */
/*********************************/
#include "stdio.h"
#include "conio.h"
int main()
{
int i;
char ch[4*8*2];
textmode(C80);
textbackground(BLUE);
textcolor(RED);
clrscr();
gotoxy(10,10);
cprintf("L:load");
gotoxy(10,11);
cprintf("S:save");
gotoxy(10,12);
cprintf("D:delete");
gotoxy(10,13);
cprintf("E:exit/r/n");
cprintf("press any key to continue.");
getch();
gettext(10,10,18,13,ch);
clrscr();
textbackground(1);
textcolor(3);
window(20,9,34,14);
clrscr();
cprintf("1./r/n2./r/n3./r/n4./r/n");
movetext(20,9,34,14,40,10);
puts("hit any key");
getch();
clrscr();
cprintf("press any key to put text");
getch();
clrscr();
puttext(23,10,31,13,ch);
getch();
return 0;
}