c++ - Reading data from a log file as a separate application is writing to it -


i monitor log file being written application. want process file line line as, or shortly after, written. have not found way of detecting file has been extended after reaching eof.

the code needs work on mac , pc, , can in language, though familiar c++ , perl.

does have suggestion best way it?

in perl, file::tail module need.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -