switch的case中不能做定义只能给语句error: a label can only be part of a statement and a declaration is not a statement