| | |
aggregation vs public inheritance?
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
Wrestling with more concepts here...
Other than the syntax, there doesn't ssem to be much difference between the aggregation and public inheritance. Pretty much they allow the usage of functions from another class-right?
One can slightly modify the the inherited function but not the aggregated ones?
Why so many ways to do similar things?
I get the feeling that I'm missing some important nuance!
Other than the syntax, there doesn't ssem to be much difference between the aggregation and public inheritance. Pretty much they allow the usage of functions from another class-right?
One can slightly modify the the inherited function but not the aggregated ones?
Why so many ways to do similar things?
I get the feeling that I'm missing some important nuance!
Its a bit heavy to grasp on your first attempt but try to read this and you will know most of which you want to.
I don't accept change; I don't deserve to live.
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
![]() |
Similar Threads
- Inheritance question (C++)
- private inheritance (C++)
- Inheritance Project .. (Game Development)
- Need example of how to use INHERITANCE! (C++)
Other Threads in the C++ Forum
- Previous Thread: reversing a string
- Next Thread: Help with a 2D array from a text file
| Thread Tools | Search this Thread |
Tag cloud for C++
api application array arrays based beginner binary bmp c++ c/c++ calculator char char* class classes code compile compiler console conversion convert count data delete deploy dll download dynamic dynamiccharacterarray encryption error file format forms fstream function functions game givemetehcodez graph gui homeworkhelp iamthwee ifstream input int java lib library linkedlist linker list loop looping loops map math matrix memory microsoft newbie news number numbertoword output pointer problem program programming project python random read recursion recursive reference rpg simple sorting string strings temperature template templates test text text-file tree url variable vector video visual visualstudio void win32 windows winsock wordfrequency wxwidgets






