- compile, run, see that it works
- use valgrind : no issue
- use cppcheck, see the problem
- analyze the issue, and fix it
- bonus : understand why valgrind did not complain and how the standard deviation could be biased ( hint : use gdb and check addresses of v and diffs).
cppcheck
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||