"enumeration value 'xxxxx' not handled in switch"警告

问题描述: 使用switch结构时出现警告"enumeration value ‘xxxxx’ not handled in switch" 解决方案: 在switch结构末添加语句 default:break; 用来处理其他情况
相关文章
相关标签/搜索