Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
Hi everyone, I am having trouble using enums in structs. I am developing for the linux platform, with the gcc compiler. Below is an example of the code that produces the error. [code=c] enum Day {Monday=0x01, Tuesday=0x02, Wednesday=0x03}; typedef struct { int numberofDays; Day weekday; } Week; [/code] When I … |