Please don't drag in boost::filesystem just to provide this single functionality, that would be a dependency pain and add to the filesize of your project needlessly.
Since Windows is the only OS that needs bespoke code, I typically use the standard POSIX code on all operating systems and then a simple dirent.h API shim for windows.
Such as...
http://slam6d.sourceforge.net/html/doxygen/dirent_8h_source.html
or
http://users.cis.fiu.edu/~weiss/cop4338_sum07/dirent.h
or
http://softagalleria.net/dirent.php
I think that it is also provided when using GCC on Windows (Mingw), but it is also definitely provided by Cygwin.
Show differencesHistory of post edits
#5Karsten_
Posted 26 November 2012 - 06:48 PM
Please don't drag in boost::filesystem just to provide this single functionality, that would be a dependency pain and add to the filesize of your project needlessly.
Since Windows is the only OS that needs bespoke code, I typically use the standard POSIX code on all operating systems and then a simple dirent.h API shim for windows.
Such as...
http://slam6d.sourceforge.net/html/doxygen/dirent_8h_source.html
or
http://users.cis.fiu.edu/~weiss/cop4338_sum07/dirent.h
or
http://softagalleria.net/dirent.php
Since Windows is the only OS that needs bespoke code, I typically use the standard POSIX code on all operating systems and then a simple dirent.h API shim for windows.
Such as...
http://slam6d.sourceforge.net/html/doxygen/dirent_8h_source.html
or
http://users.cis.fiu.edu/~weiss/cop4338_sum07/dirent.h
or
http://softagalleria.net/dirent.php
#4Karsten_
Posted 26 November 2012 - 06:46 PM
Please don't drag in boost::filesystem just to provide this single functionality, that would be a pain and add to the filesize of your project needlessly.
Since Windows is the only OS that needs bespoke code, I typically use the standard POSIX way on all operating systems and then a simple dirent.h API shim for windows.
Such as...
http://slam6d.sourceforge.net/html/doxygen/dirent_8h_source.html
or
http://users.cis.fiu.edu/~weiss/cop4338_sum07/dirent.h
or
http://softagalleria.net/dirent.php
Since Windows is the only OS that needs bespoke code, I typically use the standard POSIX way on all operating systems and then a simple dirent.h API shim for windows.
Such as...
http://slam6d.sourceforge.net/html/doxygen/dirent_8h_source.html
or
http://users.cis.fiu.edu/~weiss/cop4338_sum07/dirent.h
or
http://softagalleria.net/dirent.php
#3Karsten_
Posted 26 November 2012 - 06:45 PM
Please don't drag in boost::filesystem just provide this single functionality, that would be a pain and add to the filesize of your project needlessly.
Since Windows is the only OS that needs bespoke code, I typically use the standard POSIX way on all operating systems and then a simple dirent.h API shim for windows.
Such as...
http://slam6d.sourceforge.net/html/doxygen/dirent_8h_source.html
or
http://users.cis.fiu.edu/~weiss/cop4338_sum07/dirent.h
or
http://softagalleria.net/dirent.php
Since Windows is the only OS that needs bespoke code, I typically use the standard POSIX way on all operating systems and then a simple dirent.h API shim for windows.
Such as...
http://slam6d.sourceforge.net/html/doxygen/dirent_8h_source.html
or
http://users.cis.fiu.edu/~weiss/cop4338_sum07/dirent.h
or
http://softagalleria.net/dirent.php
#2Karsten_
Posted 26 November 2012 - 06:45 PM
Please don't drag in boost::filesystem just to do this one functionality, that would be a pain and add to the filesize your project needlessly.
Since Windows is the only OS that needs bespoke code, I typically use the standard POSIX way on all operating systems and then a simple dirent.h API shim for windows.
Such as...
http://slam6d.sourceforge.net/html/doxygen/dirent_8h_source.html
or
http://users.cis.fiu.edu/~weiss/cop4338_sum07/dirent.h
or
http://softagalleria.net/dirent.php
Since Windows is the only OS that needs bespoke code, I typically use the standard POSIX way on all operating systems and then a simple dirent.h API shim for windows.
Such as...
http://slam6d.sourceforge.net/html/doxygen/dirent_8h_source.html
or
http://users.cis.fiu.edu/~weiss/cop4338_sum07/dirent.h
or
http://softagalleria.net/dirent.php
#1Karsten_
Posted 26 November 2012 - 06:44 PM
Please don't drag in boost::filesystem just to do this one functionality, that would be a pain and add to the filesize your project needlessly.
Since Windows is the only OS that needs bespoke code, I typically use the standard POSIX way on all operating systems and then a simple dirent.h API shim for windows.
Such as...
http://slam6d.sourceforge.net/html/doxygen/dirent_8h_source.html
or
users.cis.fiu.edu/~weiss/cop4338_sum07/dirent.h
or
http://softagalleria.net/dirent.php
Since Windows is the only OS that needs bespoke code, I typically use the standard POSIX way on all operating systems and then a simple dirent.h API shim for windows.
Such as...
http://slam6d.sourceforge.net/html/doxygen/dirent_8h_source.html
or
users.cis.fiu.edu/~weiss/cop4338_sum07/dirent.h
or
http://softagalleria.net/dirent.php