#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 阅读(77) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 fortwater Powered by .NET 9.0 on Kubernetes