Why do people use enums in C++ as constants when they can use const?
const
Enums are distinct types, so you can do type-oriented things like overloading with them:
enum Color { Red,Green,Blue }; enum Size { Big,Little }; void f( Color c ) { } void f( Size s ) { } int main() { f( Red ); f( Big ); }