t****d 发帖数: 8 | 1 C++:
(Difference, advantage/disadvantage, and/or example for the following)
-Pass by value and pass by reference;
-struct in c and class in c++;
-struct and class in c++;
-Private and public inheritance
-Virtual inheritance
-Smart pointer(stack upwinding)
-Singleton design pattern(write a class)
-When a class has two vPtrTable?
-Member Methods which are automatically created by compiler for a class
-Deep copy and shallow copy
-How to design a class such that an object of that class can only be c | c***g 发帖数: 472 | 2
what's the answer of this one?
...................
【在 t****d 的大作中提到】 : C++: : (Difference, advantage/disadvantage, and/or example for the following) : -Pass by value and pass by reference; : -struct in c and class in c++; : -struct and class in c++; : -Private and public inheritance : -Virtual inheritance : -Smart pointer(stack upwinding) : -Singleton design pattern(write a class) : -When a class has two vPtrTable?
| t****d 发帖数: 8 | 3 How about there are two virtual functions which inherits from two different
base classes?
what's the answer of this one?
【在 c***g 的大作中提到】 : : what's the answer of this one? : ...................
|
|