fopen() to read/write harddrive.

Can we use fopen to perform read/write on a hard drive on windows?
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.
i knew that CreateFile() can do that, but i was curious about fopen().i just tried fopen(), and it works.
anyway thanks for suggestion.
Topic archived. No new replies allowed.