Sign in to follow this  
3dmodelerguy

Directory Creation/Searching/etc...

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this