Skip to main content
Email Password   helpLost your password?

Sample Image - LineCounter.gif

Introduction

Ever wondered how many lines a project you have worked on for a month (or maybe for a year!)? Well, we did this for you :)

This program (LineCounter) was developed with one purpose only: to count your lines!

The program is able to count source code, comments (both styles: "// comment" and "/* comment */"), and blank lines. It shows the results in a couple of editboxes, and has a preview window (right click on the list).

The program opens the project file (.dsp) and throws it through the parsing code. After parsing is done the list of project files is steped-by-step and lines are counted.

That's it! The source code is pretty self explanatory, so I guess you'll manage.

You must Sign In to use this message board.
 
 
Per page   
 FirstPrevNext
Generalhow to use the code counter in perl? Pin
moaweah naser
21:27 17 Jul '07  
AnswerRe: how to use the code counter in perl? Pin
AS-codeproject
13:09 14 Aug '07  
GeneralSome Modifications I would suggest Pin
Ray Steel
14:44 13 Oct '04  
Generalthis is definitely a useful tool, and... Pin
Zhefu Zhang
9:10 2 Dec '03  
GeneralRe: this is definitely a useful tool, and... Pin
Anonymous
23:05 16 Sep '04  
Generalyour program is not counting lines correctly Pin
evilman
10:33 1 Feb '03  
Generalwhy? Pin
Ivan Tsygoulyov
0:24 25 Dec '02  
GeneralMmmmh... Pin
Rage
5:45 26 Nov '02  
Generaldoes anyone really need this? Pin
kokie
10:03 19 May '02  
GeneralRe: does anyone really need this? Pin
Doug Kimzey
10:27 20 May '02  
GeneralRe: does anyone really need this? Pin
PerFnurt
16:24 6 Feb '04  
GeneralRe: does anyone really need this? Pin
Anonymous
14:45 28 May '02  
GeneralRe: does anyone really need this? Pin
Nelno
16:27 18 Dec '02  
GeneralRe: does anyone really need this? Pin
Dimitris Vassiliades
9:40 19 Mar '03  
GeneralIt is not bad, Indeed it is much useful than that upstair guy whose article is 3- pt Pin
Zhefu Zhang
12:11 11 Nov '03  
GeneralHmm, .dsw Pin
Razvan Marcus
4:19 12 Dec '01  
GeneralGood work Pin
Rejeesh.T.S
0:09 9 Aug '01  
GeneralAnd those constructions? Pin
Anonymous
12:19 6 Aug '01  
GeneralTeacher caught me using Java... Pin
Stephen Kellett
12:01 6 Aug '01  
GeneralRe: Teacher caught me using Java... Pin
ck
12:20 6 Aug '01  
GeneralRe: Teacher caught me using Java... Pin
Paul Evans
6:41 25 Mar '03  
GeneralIt's a dupe? Pin
George
17:46 5 Aug '01  
GeneralRe: It's a dupe? Pin
_declspec
22:25 5 Aug '01  
GeneralRe: It's a dupe? Pin
Brian V Shifrin
13:06 6 Aug '01  
GeneralRe: It's a dupe? Pin
George
2:15 7 Aug '01  


Last Updated 4 Aug 2001 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2009