Hello ,in windows ,int fileexp.cpp ," while( dirent* fn = dir.read() )" is error, you have not defined dirent and fn