libtree
libtree is used in many programs I made, in Cavavim, for example, and this library will permit you to create tree structure with your directories or files
It behave like CArbo, but CArbo is the C++ implementation of libtree
This library is very easy to use, from a directory, you can create a tree or a list that you can parse just like a linked-list, very easily, and for each element, you have information about your current file in the element structure