fopen() to read/write harddrive.

time to c (97)
Can we use fopen to perform read/write on a hard drive on windows?
modoran (1245)
You can use CreateFile() directly on windows.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v=vs.85).aspx

If you want to read/write regular files then fopen will work on windows.
time to c (97)
i knew that CreateFile() can do that, but i was curious about fopen().i just tried fopen(), and it works.
anyway thanks for suggestion.
Registered users can post here. Sign in or register to post.