In C++, an enum defines an actual type, which results in strong type checking. So: someColor = 1; will generate a warning in C++ but not in C. Function ...
確定! 回上一頁