开发者

C + WINAPI: How To handle Files?

开发者 https://www.devze.com 2023-02-27 18:06 出处:网络
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.

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:

  1. Read strings from file.
  2. 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

0

精彩评论

暂无评论...
验证码 换一张
取 消