When I look at the code about class association and aggregation. Both of them are roughly the same (use pointers to access parts of other classes)
I tried searching online for the difference between the 2 but I have trouble understanding them. I need some explanation in the form of code to help me compare the difference.
I will be really grateful if someone can provide me 2 simple codes about same thing but use different concepts (one use association while one use aggregation). Thanks