num.cpp:6: public: should be indented +1 space inside class Num [whitespace/indent] [3]
num.cpp:10: You don't need a ; after a } [readability/braces] [4]
num.cpp:7: Constructors callable with one argument should be marked explicit. [runtime/explicit] [5]
num.cpp:15: You don't need a ; after a } [readability/braces] [4]
num.cpp:3: run/num.cpp should include its header file run/num.h [build/include] [5]
num.cpp:19: Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
Done processing num.cpp
Total errors found: 6
|