FAT FS access from C++?
FAT FS access from C++?
I'm writing a kernel in C++. Can anyone please tell me how to access a FAT drive using C++ code? i.e. get the contents of files and directories? Yes, I have already searched Google, I just need something basic to go from. No, I am not writing this for school-it's my latest hobby.
Re:FAT FS access from C++?
What do you mean by a FAT drive? like a floppy or hard drive formatted with the FAT12/16/32 Filesystem?? In that case you will have to write a floppy drive or ATA driver, then read the File Allocation table, which points to all the files on the disk. check out the FAT section in the FAQ
-Stephen
-Stephen
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:FAT FS access from C++?
There are also hints about writing a floppy driver in the same FAQ