Friday, March 24, 2017

Random Circle Programme In C++


#include"stdio.h"
#include"graphics.h"
#include"dos.h"
#include"stdlib.h"
void main()
{
int gd = DETECT , gm;
initgraph(&gd , &gm ,"c:\\tc\\bgi"); while(!kbhit())
{
setcolor(rand() % 16);
circle(rand() % 600 , rand() % 400 , rand() % 50); delay(10);
}
closegraph();
}

<h1 align="center"> NOTE : USE <> INSTEAD OF " "  OTHERWISE THIS WILL NOT WORK
</h1>

<h2>send me your questions and Querries On  My Email</h2>

E-mail : spy91919@gmail.com
<h3>NOTE : USE TURBO BORLAND  C/C++ Compiler</h3>

No comments:

Post a Comment