add C++ and C file extensions with default rules (no trailing whitespace, no tabs, unix line ending)