test/testfile.c

Mon, 27 Jul 2020 17:19:56 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 27 Jul 2020 17:19:56 +0200
changeset 61
9c8d768f0244
parent 57
68018eac46c3
child 66
be2084398c37
permissions
-rw-r--r--

adds option to compute individual sums

universe@57 1 /*
universe@57 2 * Many Files have license headers.
universe@57 3 */
universe@57 4 // And add other stuff below.
universe@57 5
universe@57 6
universe@57 7 int main(int argc, char* argv) { // comments behind code don't matter
universe@57 8
universe@57 9 int zero /* in block comments we are genius enough to
universe@57 10 * detect, if there is still some code in the line
universe@57 11 */ = 0;
universe@57 12
universe@57 13 /* otherwise the whole comment is
universe@57 14 * not counted*/
universe@57 15
universe@57 16 // this holds also for this empty line
universe@57 17
universe@57 18 return zero;
universe@57 19 }
universe@57 20
universe@57 21 /* rare case, but must also work: last line is a comment */

mercurial