Курсовая работа: Програмний комплекс для роботи розробки візитних карток

{

m.hidemouseptr();

back(150,100,400,150,0);

openwindow(150,100,400,150,quest,1);

textfield(155,118,30);

m.showmouseptr();

setcolor(0);

settextstyle(2,0,4);

int xcn=0;int in2=0;

char in[2];

in[1]='\0'; /*textcolor(4);gotoxy(23,9);gets(yotext);*/

while(*in!=(char)13)

{ st:

in[0]=getch();

if(in[0]==(char)13)

{ break;

}

else if(in[0]==(char)8) {in2-=6;xcn--;sound(900);nosound();setfillstyle(1,15);bar(158+in2,120,158+in2+textwidth("W"),120+textheight("Wg"));goto st;}

setfillstyle(1,15);bar(158+in2,120,158+in2+textwidth(in),120+textheight(in));

if(in2<=0) {in2=0;}

if(in2>=240) {in2=240;}

outtextxy(158+in2,120,in);

in2+=6;

yotext[xcn]=in[0];

xcn++;

}

yotext[xcn]='\0';

/*cout<<yotext;*/

m.hidemouseptr();

К-во Просмотров: 603
Бесплатно скачать Курсовая работа: Програмний комплекс для роботи розробки візитних карток