62,074
社区成员
发帖
与我相关
我的任务
分享
for(int i=0;i <9;i++)
{
string str = option[i];
if (str == "1")
return str;
else
// 如果要退出则就是 break; 不过,退出了你的循还就没有什么意义了。
//应该让它继续 continue;
continue;
}
//如果不清楚就看:http://www.yeqiangwei.com/club/f4b0l0fp1t241004p1txt.html