int main(int argc ,char *argv[]); 修改argv[]的值 const char *file_char = “hello”; argv[4] = const_cast<char*>(file_char);