I just ran a sonar-scanner in preview mode, I cannot find any files generated by the execution. the output of the run is equally not useful.
....
INFO: 3645 compilation units analyzed, current is file.cpp
INFO: 3650 compilation units analyzed, current is file.cpp
INFO: 3653 compilation units analyzed, current is file.cpp
INFO: 3657 compilation units analyzed, current is file.cpp
INFO: 3659 compilation units analyzed, current is file.cpp
INFO: 3662 compilation units analyzed, current is file.cpp
INFO: 3664 compilation units analyzed, current is file.cpp
INFO: 3665 compilation units analyzed, current is file.cpp
INFO: 3666 compilation units analyzed
INFO: PPH: 6803 files, 71566094 bytes, 2359139 hits, 2365942 queries
INFO: Sensor CPP (done) | time=10649441ms
INFO: Performing issue tracking
INFO: 8778/8778 components tracked
INFO: ANALYSIS SUCCESSFUL
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 2:57:37.875s
INFO: Final Memory: 91M/6230M
INFO: ------------------------------------------------------------------------
It's not actually supposed to be terribly useful. It's there for technical uses. Instead, you should investigate SonarLint, which offers both IDE integration and a command-line version for pre-commit analysis.
Through a combination of SonarC++ 4.4.0 and SonarLint for Eclipse CDT, you also get C/C++ support.