API函数 Windows提供了监控文件夹或文件变化的API,如下:FindFirstChangeNotificationFindCloseChangeNotificationFindNextChangeNotificationReadDirectoryChangesW 具体使用方式,查看msdn或网上找资料也可参看博文: 监控文件夹变化(新建、删除、重命名等)例子 include<windows.h> include<iostream> include<tchar.h> intmain(intargc,charargv) { HANDLEhWatc...