enum Color//顏色{ RED=10, GREEN, BLUE }; int main() { enum Color c = RED; //定義列舉變數,給它賦值列舉常數的可能取值RED printf("%d",c); //10 ...
確定! 回上一頁