[Error] break statement not within loop or switch,我调了半天,我到底是哪儿错了?if不是不能和break一起用吗??
for语句后面的分号删掉你加了分号后,break就不在循环体内,自然会报错了
for后面你加了;格式不对 不能加;