Hoşgeldin Misafir

C Sürücü Durumunu kontrol etmek için C Kodu

MiRaT

13 Kas 2017
2,077 Mesaj

Aktiflik

Seviye

Deneyim

TIM / GÖREV:
Kod:
/* C Code to Check ur Drive Status
By, Ereglılıhacker_hacker*/

#include
#include
#include
int main(****)
{
unsigned ereglılıhackerhacker;
char buffer[512];
clrscr();
// printf(“The Program to taste Drive A (Floppy_drive)is Ready or not.\n”);
smart=_bios_disk(2,0);
if(ththacker & 0x02)
{
printf(“Drive A: Ready\n”);
}
else
{
printf(“Drive A: Not Ready\n”);
}
if(ereglılıhackerhacker & 0x0C)
{
printf(“\n Bad sector found…”);
}
else
{
printf(“no bad sector…”);
}
getch();
return 0;
}

/*