Wednesday 28 June 2017

Loading bar using c++


Loading Bar using c++

#include "iostream.h"
#include "conio.h"
#include "graphics.h"
#include "dos.h"
void main()
{
int x=170,i,gdriver=DETECT,gmode;
initgraph(&gdriver,&gmode,”c:\tc\bgi”);
settextstyle(DEFAULT_FONT,HORIZ_DIR,2);
outtextxy(170,180,”LOADING,PLEASE WAIT”);

for(i=0;i<300;++i)
{
delay(30);
line(x,200,x,220);
x++;
}
getch();
closegraph();
}

1 comment:

  1. I’m any regarding a lot of the content, My partner and i totally savored, I might actually favor a lot more info relating to this kind of, considering that it really is great., Congrats designed for submitting. Textile Designing

    ReplyDelete

Thank You!!!

create and activate a Python virtual environment on macOS and Windows

create and activate a Python virtual environment on macOS and Windows: Prerequisites: Python 3: Ensure you have Python 3 installed. You ca...