If you happen to be on a Unix system, and happen to be counting SLOC in say, C or Ada or Pascal, you can do something like this: grep -c ";" test.cpp Now, this will also count commented out lines of code, but it is free and really easy. :-) Wayne