Simple program to create a circular loading bar using graphics

Simple program to create a circular loading bar using graphics

#include<graphics.h>
#include<dos.h>

void main()
{
int gd=DETECT,gm,i;
initgraph(&gd,&gm,”c:\turboc3\bgi”);
for(i=0;i<=360;++i)
{
circle(300,200,80);
pieslice(300,200,0,i,80);
outtextxy(200,320,”Loading….Please Wait!”);
delay(20);
}
closegraph();
}

9 thoughts on “Simple program to create a circular loading bar using graphics”

    1. The problem is that, we have not some files what it is required. Just look: c:turboc3bgi" ; graphics.h, turbo.h?
      Where is these files? Without these, it is not working.
      (I use: dev c++ wirh W7 32 bit)

  1. I am not getting the out put they are saying
    =>pieslice should have a prototype
    =>function call missing }
    =>function call missing }
    =>statement missing
    =>

Leave a Comment

Your email address will not be published.