I am not familiar with C++ as I am a C# developer.
In my project, I need to delete all folders of one week before. In C++, how can I get the list of the folders of one week before based on the current system date time?
I am working on Eclipse IDE running on Ubuntu 10.10.
If you could provide some sample of code, that would be great.
Thanks in advance and your help is much appreciated!
With boost:
or without using boost::foreach