#11
|
|||
|
|||
![]()
Janet BC.....Here is a simple example of some programming code... can you make heads or tails of it? If so, bravo!
clrscr(); int gd=DETECT,gm,i=0; detectgraph(&gd,&gm); initgraph(&gd,&gm,"c:\tc\bgi"); rectangle(0,5,630,400); rectangle(10,15,620,390); settextstyle(1,0,1); outtextxy(245,238,"DESIGNER"); while(!kbhit()) { setcolor(i); settextstyle(2,0,0); outtextxy(32,170,"* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *"); outtextxy(32,178,"* *"); outtextxy(32,186,"* *"); outtextxy(32,196,"* *"); |
Thread Tools | Search this Thread |
Display Modes | |
|
|