Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81568 / c2html / cyclomatic.h
diff options
context:
space:
mode:
Commit65c7618c2a8834616b009195f10c6cd762f43b8a (patch)
Author
 Mincho Paskalev <minchopaskal@gmail.com>
2018-11-07 10:31:59 +0200
Committer
 dtrendafilov <trendafilov.dn@gmail.com>
2018-11-07 10:31:59 +0200
Files57440acdc2731e7b060928881fa55e983d83f956 /homework/81568/c2html/cyclomatic.h
IPL-65c7618c2a8834616b009195f10c6cd762f43b8a.tar
IPL-65c7618c2a8834616b009195f10c6cd762f43b8a.tar.gz
IPL-65c7618c2a8834616b009195f10c6cd762f43b8a.zip
Parent2044770601dff8f1bd1c6cb9d0617f669b430e1d (diff)
Добавяне на второ домашно (#30)
* Add 1st hw * --amend * moving readme for 1st hw to designated folder * renamed TokenType enum to TokenClass * fixed character constant lexing. added sampe output file * add new line at end-of-file. added gitignore * a bit of refactoring * adding cyclomatic complexity * refactored * adding cyclomatic complexity * refactored
1 files changed, 19 insertions, 0 deletions
-rw-r--r--homework/81568/c2html/cyclomatic.h19
diff --git a/homework/81568/c2html/cyclomatic.h b/homework/81568/c2html/cyclomatic.h
new file mode 100644
index 0000000..29fdc1c
--- /dev/null
+++ b/homework/81568/c2html/cyclomatic.h
@@ -0,0 +1,19 @@
+#ifndef CYCLOMATIC_H
+#define CYCLOMATIC_H
+
+#include <cstdio>
+
+// Given this
+// is 20,000 LOC, I'll probably leave parsing
+// 'C' as a course project
+// #courseproject
+
+// class Parser;
+
+namespace ParCer {
+
+unsigned outputWithCyclomaticComplexity(FILE *fpIn, FILE *fpOut);
+
+} /* Namespace ParCer */
+
+#endif /* CYCLOMATIC_H */