diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-03-29 18:30:04 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-03-29 18:30:04 +0200 |
commit | 6154309f0cd3ed5071996951465808f2503e2eb1 (patch) | |
tree | b1666eea410e859f814ae47ca47b8b2d7d333c50 /debug.cpp | |
parent | b0cac4997b5767526b29187fecf2a87aa1b0ebef (diff) |
mcc produces first dummy executable
Diffstat (limited to 'debug.cpp')
-rw-r--r-- | debug.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debug.cpp b/debug.cpp new file mode 100644 index 0000000..391c522 --- /dev/null +++ b/debug.cpp @@ -0,0 +1,12 @@ +#include "debug.h" + +#include <iostream> + +bool debug{false}; + +void Debug(std::string s) +{ + if (debug) + std::cout << s << std::endl; +} + |