Hacker News new | ask | show | jobs
by spc476 3781 days ago
Assuming C code (not C++), then const int is not the same as a #define. An enum is only good if the values fit within the range of a native int.