absread
Questa legge di un determinato settore del disco su un disco floppy
# include <stdio.h>
# include <dos.h>
# include <stdlib.h>
# include <bios.h>
int main (void)
(
unsigned char buffer [512];
clrscr ();
printf ( "Inserire il disco A: unità, quindi premere un tasto qualsiasi. \ n");
/ * per attendere tasto * /
getch ();
if (absread (0,1,1, & buffer)! = 0)
printf ( "Impossibile leggere la A guidare. \ n");
altro
printf ( "Drive A, Settore 1 letto \ n");
return 0;
)
Questo è stato scritto usando Turbo C e testato su Windows 98
Related post:
- Scrivi a un disco nel drive A tal fine è necessario un vecchio sistema operativo e compilatore, Turbo C. ..
Related posti portato a voi da Yet Another Related Posts Plugin.



















































Pubblica un commento