C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: Counting program lines except comments

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Alex Vinokur
Guest





PostPosted: Sun Dec 28, 2003 6:46 pm    Post subject: Re: Counting program lines except comments Reply with quote




"Alex Vinokur" <alexvn (AT) bigfoot (DOT) com> wrote

Quote:
Is there any tool to count C-program lines except comments?

[snip]


Counter of C/C++ source lines and bytes can be downloaded at :
http://alexvn.freeservers.com/s1/download.html ("Counter of C/C++ source lines and bytes").


NAME
nlcs - count C/C++ source lines and bytes

SYNOPSIS
nlcs [OPTIONS]... [FILE]...

DESCRIPTION
Count code-lines, empty-lines, comment-lines,
code-fields, empty-fields, comment-fields of C/C++-sources
which have been successfully compiled.


Summary and detailed reports are generated.

Here is Summary Report Sample.

--- Summary Report ---
==================================
Quote:
: Lines : Bytes |
--------------------------------|
Code Only : 47 : 873 |
Code+Comment : 32 : - |
Comment Only : 20 : 984 |
Empty : 87 : 441 |
................................|
* Total : 186 : 2298 |
==================================



=====================================
Alex Vinokur
mailto:alexvn (AT) connect (DOT) to
http://mathforum.org/library/view/10978.html
=====================================





Back to top
Alex Vinokur
Guest





PostPosted: Sun May 30, 2004 4:24 am    Post subject: Re: Counting program lines except comments Reply with quote




"Alex Vinokur" <alexvn (AT) big (DOT) foot.com> wrote

[snip]
Quote:
Counter of C/C++ source lines and bytes can be downloaded at :
http://alexvn.freeservers.com/s1/download.html ("Counter of C/C++ source lines and bytes").
[snip]


Also at https://sourceforge.net/projects/cncc/

--
Alex Vinokur
http://mathforum.org/library/view/10978.html





Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.