switch的case中不能做定义

switch的case中不能做定义

只能给语句

error: a label can only be part of a statement and a declaration is not a statement

原文地址:https://www.cnblogs.com/orchid-sky/p/3650582.html