|
|
LOL, ca m'occupe.
Le code c'est:
#include <stdio.h>
#include <iostream.h>
#include <conio.h>
#include <dos.h>
#include <stdlib.h>
int main (void)
{
//Variable
int i;
char* r="\b Microsoft est entrain de formater votre disque dur: ";
//Couleur du texte,de l'‚cran et type d'‚cran
textmode (C40);
textcolor (15);
textbackground (0);
clrscr();
//Boucle
for (i=0;i<101;i++) {
cout <<r,"\b";
cout <<+i;
cout <<" % Format‚ \n";
delay(1000);
clrscr();
}
return 0;
}
Voila.
|