Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c.cc:14: int n - Don't use one-letter variables except for short for loops [dangerous/one_letter_vars] [4]
- c.cc:29: Use preincrement in for loops instead of postincrement [readability/preincrement] [4]
- c.cc:30: Use preincrement in for loops instead of postincrement [readability/preincrement] [4]
- Done processing c.cc
- Total errors found: 3
- source.cpp:48: Add blank lines between all global functions and classes. Also, indent everything inside a function at least 2 spaces. Otherwise, the code inside a global function may look like global code, and it could lead to this warning in the first place. [whitespace/blank_line_between_globals] [4]
- source.cpp:48: Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
- Done processing source.cpp
- Total errors found: 2
- Skipping input 'verbose=5': Can't open for reading
- c.cc:0: No copyright message found. You should have a line: "Copyright [year] <Copyright Owner>" [legal/copyright] [5]
- Done processing c.cc
- Total errors found: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement