Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

KevinG

Is there any reason I should use Win32 File I/o functions and procedures?

This topic is 5329 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Wouldnt it be better to just use C or C++ style file I/o? Are there any advantages to using win32 style file i/o? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
In most cases using C or C++ library file I/O functions is adequate for the job. C++ methods, in particular, are designed to work well with the rest of the standard library and should probably be preferred to the Windows API functions in most cases.

However, there are things you can do with Windows API file I/O that are not part of the functionality of the C or C++ library functions. For example: memory mapped files and overlapped I/O. Also, you can (in theory) get better performance by working directly with the Windows API functions. But you really need to know what you''re doing in order to get any practical benefit.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!