boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - The C++ questions I've been asked
相关主题
one question about struct
C++菜鸟问题请教: class versus structure.
不明白C++的一个地方
one more interview question
C++ Q09: delete dynamic array
C & C++ mixing question
两个看来相似的问题
protected class member in C++
about struct and class in c++
请问C++小白问题
相关话题的讨论汇总
话题: class话题: c++话题: pass话题: struct
进入Programming版参与讨论
1 (共1页)
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?
: ...................

1 (共1页)
进入Programming版参与讨论
相关主题
请问C++小白问题
C++ Q96: function inheritance (转载)
What is the difference between class and struct?
定义linked list最后一行什么意思?
Why oop is bad?
[合集] can C++ constructor be private? the answer is YES!
C++ Singleton Help
[合集] which design pattern is used if a static variable insid
请问关于c++实现singleton的问题?
请问static variable init的问题?
相关话题的讨论汇总
话题: class话题: c++话题: pass话题: struct