error C2181: illegal else without matching if错误 日期:2018-04-14 08:32:37 人气:2 error C2181: illegal else without matching if错误 提示应该是说你的else没有与之匹配的if。错误在于你的if表达式后出现的分号“;”,去掉它