M-x delete-trailing-whitespace in main.cpp