Jump to content
  • Advertisement
Sign in to follow this  
3dmodelerguy

Directory Creation/Searching/etc...

This topic is 4493 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

I have tried to google creating directory in C++ but i am not getting any type of help. I am looking for some documentation or tutorials on creating/deleting/searching for/move file from one to another/etc... I am going to need to develop for both Windows and Linux so docs on both woth be nice but right now windows is #1. Thank You, Ryan Zec

Share this post


Link to post
Share on other sites
Advertisement
Boost.Filesystem. Some people will complain that it cannot handle spaces in paths but that is true only for portable paths. Stick it into native mode and it can deal with spaces just fine (at least under windows).

Σnigma

Share this post


Link to post
Share on other sites
I would go with Σnigma's advice if I were you. If you find Boost.Filesystem daunting, check out the MSDN reference for CreateFile. Just remember that you really should wrap it behind some simple call to ease your porting woes.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!