Program Loading di C++


Pagi kawan semua, lama gak nge-post nih, maklum habis UAS. Dan sekarang ane mo ngepost, berbagi ilmu, sharing lagi bersama kawan semua. Hehehe .. Disini ane punya source code membuat Loading di C++. Ane pakek Borland C++.

#include <iostream.h>
#include <conio.h>


void main()
{
int i,j,k;


for (i=1;i<=80;i++)
{
for (j=1;j<=10000;j++)
{
for (k=1;k<=10000;k++)
{}
}


gotoxy(i,10); cout<<"=";
gotoxy(i,11); cout<<"*";
gotoxy(i,15); cout<<"*";
gotoxy(i,16); cout<<"=";


gotoxy(32,13); cout<<"loading "<<i*100/80<<"%";


}


getch();
}


Semoga Bermanfaat.
◄ Posting Baru Posting Lama ►

------------------------Boost Your Website----------------------

 

Recomended


Free Chat


Copyright © . Art Media Blog - All Rights Reserved TOP