enum { limit = -2, timeout = -1, ongoing = 0, finished= 1 };. 然後,函數將被定義為:. 复制代码. static int test(void);. 我個人更喜歡typedef enum 方法:.
確定! 回上一頁