cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Enumeration
Enumeration
Dec 7, 2012 at 4:47pm UTC
odai
(57)
hi , mm please who can till me something about this question ?
What situations that give us syntax error in enumeration ??
Last edited on
Dec 7, 2012 at 4:47pm UTC
Dec 7, 2012 at 5:02pm UTC
Chervil
(7320)
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.
Dec 7, 2012 at 5:16pm UTC
odai
(57)
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 .
Dec 7, 2012 at 5:26pm UTC
Fransje
(435)
http://www.learncpp.com/cpp-tutorial/45-enumerated-types/
.
This is an enum syntax error:
1
2
3
for
(
int
i = 0; i <
enum
; i++ ) { cout <<
enum
( i )++ << endl; }
Dec 7, 2012 at 5:35pm UTC
odai
(57)
thanks for all ^_^
Topic archived. No new replies allowed.