#include <stdio.h> const int Action_STOP = 0; const int Action_RIGHT = 1; ... 也不知道其意涵為何;對於這類列舉常數的需求,C 本身提供了 enum 來達到這類任務。
確定! 回上一頁