Alex Vinokur (alex_vinokur) wrote,
Alex Vinokur
alex_vinokur

Counter of C/C++ source lines and bytes

Counter of C/C++ source lines and bytes
https://sourceforge.net/projects/cncc/


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

SYNOPSIS
cncc [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.

The program accepts the following options.

`-a'
Print code-line, empty-line and comment-line counts for each FILE.
This option is DEFAULT.

`-b'
Print line-type for each LINE of each FILE.

`-c'
Print
* line-type
and
* code-field, empty-field and comment-field counts
for each line of each FILE.
### Note. This option is incompatible with option `-d'.

`-d'
Print field-type for each field of each line of each FILE.
### Note. This option is incompatible with option `-c'.

`-h'
Display this help and exit.

`-v'
Print the version number and exit.
Tags: c++, software
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments