just use company-mode in c/c++ mode