Only keep *.cpp files, g++ compilation succeeds; tidy up the project folder