1833356 Members
3304 Online
110051 Solutions
New Discussion

C++ function

 
SOLVED
Go to solution
Pramodu. C. P
Occasional Contributor

C++ function

Hi Everybody,

I am searching for a c++ function which can be used for retrieving the current directory file list to an array and then process it.

Please help...

Pramodu

2 REPLIES 2
Steven Gillard_2
Honored Contributor
Solution

Re: C++ function

I don't know of any such class in the standard library but you could write your own class in next to no time by using the standard C library routines opendir() / readdir() / closedir() etc.

Regards,
Steve
Haribaskar
Occasional Advisor

Re: C++ function

Hi Pramod,

Sorry for replying late to your message.
I have a function which suits your requirements. You can also
customize to your own requirement. Please find that in the attached file.


Regs,
Hari