How do I Monitor Text File Changes with C++? Difficulty: No .NET
问题 Use case: 3rd party application wants to programatically monitor a text file being generated by another program. Text file contains data you want to analyze as it's being updated. I'm finding a lot of answers to this question wrapped around FileSystemWatcher but let's say you are writing an application for a Windows machine and can't guarantee .NET is installed. Are there any libraries out there available for this, or am I just going to have to roll my own solution then? Thanks. 回答1: You can