customize c++ mode, add company mode.