try to use c++ mode