Please can someone tell me the difference between a struct and an enumeration?
rizillion
0
Newbie Poster
Recommended Answers
Jump to PostExample of a structure:
struct book { char title[25]; char author[25]; char publisher[25]; int price; };
Example of an enum(eration):enum book { BIG, SMALL, };
Jump to PostWhy don't you just post your whole exam, since you seem to know a lot about what questions ARE going to be on it.
http://www.daniweb.com/forums/post870168-3.htmlBetter yet, just give us the email address of the examiner, and we can forward the answers directly, and cut out the middle-man.
…
Jump to PostLet's just all calm down...
He has just asked the answers for about less than 10 out of
40 questions...Everone hopes, you follow post # 3YOU tell US what you think the answer should be
And if your answer is wrong, don't worry, everyone will teach you how to …
Jump to PostSorry, I forgot to place a semicolon after the closing brace
on my examples...Sorry too for multiple posts.
All 15 Replies
mvmalderen
2,072
Postaholic
Salem
5,138
Posting Sage
neigyl_noval
2
Light Poster
mvmalderen
commented:
Nice approach :)
+4
neigyl_noval
2
Light Poster
mvmalderen
2,072
Postaholic
rizillion
0
Newbie Poster
mvmalderen
2,072
Postaholic
William Hemsworth
1,339
Posting Virtuoso
mvmalderen
2,072
Postaholic
William Hemsworth
1,339
Posting Virtuoso
mvmalderen
2,072
Postaholic
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
mvmalderen
2,072
Postaholic
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
mvmalderen
2,072
Postaholic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.