函数原型如下:int inCommand(char *str,int& flag); 将引用参数改为:int inCommand(char *str,int flag);后编译通过将引 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交