Question

I am trying to learn object oriented concepts by studying a real world example in c++. This exmple should illustrate all concepts like inheritance, encapsulation, overloading, polymorphism etc.

Was it helpful?

Solution

Considering a quite popular post here on SO , there are lot of solutions to your problem, probably the best one is this book.

I would like to also recommend another path: pick 1 between Obj-C and Java if you can deviate a little from the original focus.

The reason why I'm suggesting this is the long time existence of Java, combined with its big popularity in both production and education, and the fact that Obj-C is somehow an object oriented language that "exposed" itself in the way this mechanisms works, there are a lot of pointers and really simple but powerful concepts that can help you understand this.

It's also possible to use Obj-C on platforms that are not MAC OS driven but you should use clang, not gcc, gcc is a little bit behind on objc support, at least this is what I experienced.

There is also the usual list of free resources with a lot of goodies that always helps .

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top