hi , mm please who can till me something about this question ?

What situations that give us syntax error in enumeration ??

Last edited on
That's an open-ended question.
If you ask what is the correct syntax, that's easy.
But what is the wrong syntax - well absolutely everything else in the universe.
I know the syntax of enum but what i don't know the syntax error .

ok , if you have a link for enum give it to me .

http://www.learncpp.com/cpp-tutorial/45-enumerated-types/ .

This is an enum syntax error:
for ( int i = 0; i < enum; i++ ) {
    cout << enum( i )++ << endl;
thanks for all ^_^
Topic archived. No new replies allowed.