Q:

C + WINAPI: How To handle Files?

OK, I have read about CreateFile, ReadFile 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?

A:

Here is an example:
http://www.gamedev.net/page/resources/_/reference/programming/platform-specific/windows/file-io-in-visual-c-r707

