标签:
整数常量的符号名称...
#include <stdio.h> enum _bool {false,true}; int main(){ enum colors { red, orange, yellow, green, blue, violet, }; enum colors a = green; int b = yellow; printf("%d\n",a); printf("%d\n",b); }
标签:
原文地址:http://www.cnblogs.com/bai-jimmy/p/4470953.html