I couldn't run the tool either so I had a look at the source code to review your submission. Nice work there. I'd have probably used some more of the STL for a tool like this (e.g. std::vector<entry_t> to hold the list of entries, and std::regex could be really helpful), but I understand that sometimes it's a deliberate choice not to use the STL and that's perfectly valid too. One thing I would definitely change is to make sure you initialize your variables (especially the global ones) - it never hurts and can avoid some tricky bugs if the code (or the people using it) do something unexpected.