During one interview back in 2001, I was asked how many lines of code I had written in my college career.  I had no idea and just made a wild guess.  (After using this program, I see that I've written about 47,000 lines.)  The question bugged me for weeks until I just sat down and wrote this program.  It will search for code files (or any other extension you give it) and count the number of lines in a specified folder.  If you want, it will even recurse into subdirectories.  (See a screen shot.)  The output is sorted by file type.  A feature I would like to implement in the future is the ability to not count blank lines and comments.  However, I wanted to release version 1.0 now because it may be a while before I get the opportunity to add this feature.  This code was developed on Windows2000 but I see no reason why it wouldn't work just as well on other Windows platforms.  And as always, if you have any comments/suggestions/bugs, please let me know.

 

Disclaimer:
By installing this software, you assume complete responsibility for any damage that may occur to your system or your oldest child.  I assume no liability.  Besides, if you tried to sue me you wouldn't get much.  May cause cancer in pregnant lab rats on rainy days in Arkansas. Violators will be persecuted. Do not pass Go, do not collect $200, go directly to jail. An apple a day keeps the doctor away. Caffeine-free (although I am probably not). Look both ways before crossing the road. Don't put that quarter in your mouth, you don't know where it's been. Do not use in areas of high radiation. Do not use while being chased by a rabid African tiger (a healthy one maybe, but not a rabid one). I am not responsible for any lost or stolen brain cells. And last, but not least, have fun!

Installation Instructions:
Download codecount.exe (140KB).  No further installation is required.  Just run the program.