c++

#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编辑  收藏  举报

导航