#include <iostream>
int main(
int argc,
char *argv[]){
if (argc<2){
std::cout<<"usage : "<<argv[0]<<" directoryName"<<std::endl;
return -1;
}
ds.
findAll(std::vector<std::string>());
std::cout<<
"Found the following in the directory "<<ds.
getPath()<<std::endl;
for (int i=0; i<ds.size(); i++)
std::cout<<ds[i]<<std::endl;
std::vector<std::string> excluded;
excluded.push_back(".");
excluded.push_back("..");
ds.resize(0);
std::cout<<
"Found the following in the directory (excluding . and ..) "<<ds.
getPath()<<std::endl;
for (int i=0; i<ds.size(); i++)
std::cout<<ds[i]<<std::endl;
return 0;
}