So we can at least make the examples use a more consistent code style. Run clang-format like so: $ clang-format -i *.cpp and use git diff to see what has changed. This will strip trailing whitespace too. You can ignore that by using git diff -w