#include "boost/filesystem.hpp"
#include <sstream>
bool getFiles( std::string path,std::vector<std::string> &vFiles )
{using namespace boost::filesystem;
typedef recursive_directory_iterator rd_iterator;
rd_iterator end;
for (rd_iterator pos(path.c_str());pos != end;++pos)
{
if (is_directory(*pos))
{
pos.no_push();
}
std::stringstream streamItem;
streamItem << *pos;