开发者

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:

  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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜