add c/cpp mode