zl程序教程

您现在的位置是:首页 >  其它

当前栏目

“enumeration value ‘xxxxx‘ not handled in switch“警告

in not value 警告 switch
2023-09-14 09:07:08 时间
typedef enum
{
   
    HE=0,
    SH
}PARAM_TYPE;
void fun(PARAM_TYPE pe)
{
   

    switch (pe) {
   
    case HE:
        cout<<