I\'m caching some information from a file and I want to be able to check periodically if the file\'s content has been modified so that I can read the file again to get the new c
You can use boost's last_write_time for that. Boost is cross platform.
last_write_time
Here's the tutorial link for that.
Boost has the advantage that it works for all kinds of file names, so it takes care of non-ASCII file names.