Hello friends...
I think my previous post "how to recover unallocated size of USB flash drive" is useful for you.
this time i come here with a very interesting graphics programming using C language..
here i give you a C code .. when you run it with your TURBO C then you see a magic ...
#include <graphics.h>
void main()
{
int i, j = 0, gd = DETECT, gm;
initgraph(&gd,&gm,"..\\BGI");
outtextxy(25,240,"Press any key to start car");
getch();
for( i = 0 ; i <= 420 ; i = i + 10, j++ )
{
rectangle(50+i,275,150+i,400);
rectangle(150+i,350,200+i,400);
circle(75+i,410,10);
circle(175+i,410,10);
setcolor(j); //use for change the color of car
delay(100);
if( i == 420 )
break;
clearviewport();
}
getch();
closegraph();
}
its realy a good work...
ReplyDeletethanks..
Deletewah beta abhishek k sir ka bnaya hua program yha copy kardya :p..great work sirji:)
ReplyDeletethanx ...but ye Abhishek k sir kaun hai hme bhi btao thoda hum bhi unse help le sake ..
ReplyDelete