#include <iostream>using namespace std; enum Foo { AAA = 123 }; int main() { cout << AAA << endl; cout << Foo::AAA << endl; return 0;}
Standard input is empty
123 123
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!