num.cpp:6: public: should be indented +1 space inside class Num [whitespace/indent] [3]
num.cpp:13: 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:17: You don't need a ; after a } [readability/braces] [4]
num.cpp:18: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
num.cpp:3: run/num.cpp should include its header file run/num.h [build/include] [5]
num.cpp:21: Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
Done processing num.cpp
Total errors found: 7
|