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

問題描述: 使用switch結構時出現警告"enumeration value ‘xxxxx’ not handled in switch" 解決方案: 在switch結構末添加語句 default:break; 用來處理其他情況
相關文章
相關標籤/搜索