I am creating an app to monitor keystrokes and count how many times I depress any certain key in a particular timeframe. I have the keylogger written up...I just need some reference or open libraries that will aloow me keep a running tally of how many times for each key

I'm not willing to spend a few days creating my own, so I was wondering if anyone has written or know of an open sourced counter that I can use/mod? C++ only please...I don't have the time to change libs over

And on a similar tangent...what's anyones fav compiler and or editor for C++?
I use Borland's free compiler, IBM VisualAge for C++ and M$ VisualC++ among others. Notepad is great for editing IMHO, but it lacks syntax checkers, there are a few editors with theses built in, but they do not allow more free iostreams to be allowed

hence I don't use them.