|
-
August 23rd, 2012, 05:47 AM
#7
Re: Error C2079: uses undefined class
 Originally Posted by Momentum
thanks for the reply. While trying to troubleshoot the problem, I stripped each class to the bare minimum functions and variables, removed all pointers and references, to hopefully figure out the cause of the problem
Your Waiter design directly requires for mandatory association between instances of waiter and table: waiter has/owns his table. While in real life he never does. There might be waiters serving no tables as well as tables currently not served at all. By removing "pointers and references" you just broke the relations you tried to model. This is not the way how problems get resolved.
Last edited by Igor Vartanov; August 23rd, 2012 at 05:52 AM.
Best regards,
Igor
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|