C + WINAPI: How To handle Files?
OK, I have read about CreateFile, R开发者_JAVA百科eadFile and WriteFile and I know how to use these. But I could not find any tutorial or guide with an example to use them properly. How do I handle files? I want to learn about:
- Read strings from file.
- Write strings to file.
How does one do that?
Here is an example:
http://www.gamedev.net/page/resources/_/reference/programming/platform-specific/windows/file-io-in-visual-c-r707
精彩评论