Recognize C and C++ file extensions