摘要: #include<stdio.h>#include<stdlib.h>char* getStrBall(int a){ switch(a){ case 0: return "red"; case 1: return "yellow"; case 2: return "blue"; case 3: return "white"; case 4: return "black"; }}int main(void){ enum ball{red,yellow,blue,white 阅读全文
posted @ 2012-08-29 07:55 ligang305 阅读(232) 评论(0) 推荐(0) 编辑