Hi,
Is there any way in C++ to select and read the last modified file from a unix directory?
Let say the o/p of the ls -t is :
abc.txt
myfile.txt
....
....
last_file.txt
I want to select this last file ( can be of any name) and read the same using C++.
Thanks in advance for your quick help.
Thanks,
Parvez