Redian新闻
>
The C++ questions I've been asked
avatar
The C++ questions I've been asked# Programming - 葵花宝典
t*d
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
avatar
c*g
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?

avatar
t*d
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?
: ...................

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。