how do you access a floppy drive using c?
that is find it's properties, copy to it..?
which header file to be included ?
how do you access a floppy drive using c?
that is find it's properties, copy to it..?
which header file to be included ?
> how do you access a floppy drive using c?
system("a:");
WOOHOO!
The world is waiting. I must leave you now.
Just the same as any other drive, I believe.Originally posted by lijostin
how do you access a floppy drive using c?
that is find it's properties, copy to it..?
which header file to be included ?
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
Well there are a couple of ways. These are not in any particular order.
- Use the BIOS functions via interrupt.
- Use the biosdisk function which calls the BIOS for low level reads/writes.
- Use the huge I/O library that comes with C.
- Have DOS read from the disk via int 21h functions - and there are a a bunch of them.