while((pent = readdir(path_dir))!= NULL) { // if (pent-> d_type == DT_REG) { cout << pent->d_name << endl; } // if (pent->d_name[i] !='.'|| pent->d_name[i]) }
ls -al
a
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)