I tried RetiSoft's C/C++ Source Lines Of Code (SLOC) Counter for VC++ code, but it doesn't work on my source code base. I had to abandon it.
Then I used Java.net loc-counter for Java and VC++ code. It works Ok.
This is Argyn's blog. I comment on topics of my interests such as software, math, finance, and music. Also, I write about local events in Northern Virginia, USA and all things related to Kazakhstan