摘要: 1 枚举 1 enum ShapeType 2 { 3 circle, 4 square, 5 rectangle 6 }; 7 8 int main() { 9 10 ShapeType shape = circle;11 12 switch(shape)... 阅读全文
posted @ 2015-05-30 15:02 asnjudy 阅读(556) 评论(0) 推荐(0) 编辑