摘要: 1,枚举 1.1 基本使用 #include <iostream> using namespace std; // 枚举对应的值为[0,1,2,3] enum color {red, blue, green, yellow}; int main() { color c; c = red; cout 阅读全文
posted @ 2024-07-03 11:47 没尾巴的刺刺鱼 阅读(43) 评论(0) 推荐(0) 编辑