Fri, 03 Jun 2022 20:05:15 +0200
new feature: count non-whitespace characters
1 /*
2 * Many Files have license headers.
3 */
4 // And add other stuff below.
7 int main(int argc, char** argv) { // comments behind code don't matter
9 int zero /* in block comments we are genius enough to
10 * detect, if there is still some code in the line
11 */ = 0;
13 /* otherwise the whole comment is
14 * not counted*/
16 // this holds also for this empty line
18 return zero;
19 }
21 /* rare case, but must also work: last line is a comment */