02-16-2013, 12:51 AM
(01-16-2013, 01:50 PM)amii-adjah Wrote:Quote:coba gini
terus yang iniPHP Code:#include.<conio> #include.<stdio>Quote:using namespace std;hapus aja
wah kaka baru engeh aku, itu cpp ya
kalo yg pake cpp yg scode awal udh berhasil kaka
bahasa C nya jadi:
udah dicoba tadi, berhasil juga...Code:#include <stdio.h> #include <stdlib.h> int loading() { int i,j; for(i=0;i<80;i++) { printf("loading %d%%",i+20); printf("\n"); for(j=0;j<i;j++) { printf(">"); } system ("cls");//menghapus layar } } int main(int argc, char *argv[]) { loading();//memanggil fungsi system("pause"); return 0; }
arigatou kaka
klo bgn bgmn:
Code:
#include <windows.h>
#include <iostream>
using namespace std;
int main () {
cout << "Loading";
for (int i = 1; i <= 10; ++i) {
cout << ".";
Sleep(500);
}
cin.get();
return 0;
}![[Image: 2nisf0x.jpg]](http://i47.tinypic.com/2nisf0x.jpg)
don't called yourself a hacker if you can't do programming!








