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.