#include <iostream>//枚举using namespace std;
int main(){ enum Key{KEY_S1,KEY_S2,KEY_S3}a,b,c; a = KEY_S1; b = KEY_S2; c = KEY_S3; cout << a << "," << b << "," << c << endl; system("Pause"); return 0;}
posted on 2018-05-23 18:29 fortwater 阅读(85) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3