Surrogate Class

Here is a question.

How could we design a type of class to enable it to include the classes which is different but have something in common ?

The solution is sorrogate

Why should we use C++

After reading the chapter 0, 1 and 2 of << Reminations on C++ >>, I try to make myself more sober and do some summaries for this question.

Why should we use C++ ?

What I want to do is to give the answer in advance and then give the reason.

Here we go.

What Means Freedom ?

What does it mean to be free? Free is being able to choose. To choose your own space to be in. To form your surrounding in a way that will make you to take out the best of you. Free is to say no. Get your freedom …

images