Could someone help me in implementing association in cpp. I am trying to implement a dice game where I have two classes a diegame and a dice.
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
If you do mean one-to-one associations, they are a very broad kind of connection between types, objects, etc.
For more info have a look at given discussion - one to one association in C++.