Cím adott a többit képzeljetek hozzá:
#include <stdio.h>
#include <conio.h>
#include <time.h>
#include <dos.h>
main()
{
int a,b,c;
char label,parancs;
clrscr();
printf("Boot error scandisk was found bad sector in hard disk C:\\\nPress any key to continue!");
getch();
printf("\nchecking exiting disk format.");
for(a=1;a<=70; )
{
clock_t start, end;
start = clock();
delay(200);
end = clock();
a++;
printf(".");
}
printf("\nFAT32 error!\nPress C to continue!\n");
getch();
printf("saving UNFORMAT information.");
for(b=1;b<=99; )
{
clock_t start, end;
start = clock();
delay(500);
end = clock();
b++;
gotoxy(25,7);
printf("\nFormat drive C:\\\t%d%",b);
}
printf("\nFormat comlete.");
printf("\nVolume label (11 characters; enter for none)?");
scanf("%c",&label);fflush(stdin);
printf("\n\n\t19,261,457,644 bytes total disk space.");
printf("\n\n\t19,261,457,644 bytes avaible on disk.");
printf("\n\n\t512 bytes in each allocation unit.");
printf("\n\n\t2,847 allocation units avaible on disk.");
printf("\n\nVolume Serial Number is 1B40-10FC");
printf("\nFormat another(Y/N)?");
while (c=getchar() !=EOF)
{
clrscr();
printf("System halt.");
}
printf("Muhahahaha!");
getch();
}
/ Persze lehet ezt szebben, jobban, de 23:30 után fárad az ember, főleg Maxwell egyenletek után.> /