i need to open files present in a folder. i found a code from here http://www.cplusplus.com/forum/beginner/9173/ to open file. But it gives error that "#include<dirent.h> is undefined". I googled for library and i got here: http://www.softagalleria.net/dirent.php. now from here when i goto download page, page doesn't opens saying "internal server error". My questions are:
1. is it correct method, if yes can someone give me the link to download library?
2. if it is not correct then what is correct method?