Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Count Files in a Folder (http://www.go4expert.com/forums/count-files-folder-t7842/)

Santhoshv84 14Dec2007 11:02

Count Files in a Folder
 
Hi Friends,

I need to count number of files in a folder, i have the path from that i have to count all the files in that particular folder.

Could any one tell me how to do that by C++ program.

Thanks and Regards.
V. Santhosh

Salem 14Dec2007 12:48

Re: Count Files in a Folder
 
Well to begin with, it would depend on your OS/Compiler.

But let's have a guess at the win32 API and go with
http://msdn2.microsoft.com/en-us/library/aa364407.aspx


All times are GMT +5.5. The time now is 17:43.