- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 通过字符串进行switch选择
//通过字符串进行switch选择 #include using namespace std; int main() { enum MyEnum//枚举类型 { one, two, three, }; MyEnum str; str = two; switch (str) { case one: cout
2018-01-04 14:01:25 3115
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人