Hi
struct stat attrib;
int nowdate = time(0);
stat(InFileLo.c_str(), &attrib);
int moddate = attrib.st_mtime;
if ((nowdate - moddate) >= 160000 ){
remove(InFileLo.c_str());
why does the above not remove the file? I have the same remove code line in other places in my project where it works. Debug runs through so it's maybe stat related?
Many thanks