cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
fopen() to read/write harddrive.
fopen() to read/write harddrive.
Feb 6, 2013 at 1:32pm UTC
time to c
(107)
Can we use fopen to perform read/write on a hard drive on windows?
Feb 6, 2013 at 1:41pm UTC
modoran
(2077)
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.
Feb 6, 2013 at 1:51pm UTC
time to c
(107)
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.