由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - [合集] C++ interview question help
相关主题
问个题。我真不明白c++有什么难的
急问:compile and build dependency一个c++ constructor的问题, thanks
问个面试问题,请教菜鸟请教smart pointer
请教个Bloomberg 的 C++ 题目[C++] when destructors get called
请教一下,exception时,destructor一定会被调用么?【C++】请问这样有没有memory leak?多谢
用包子呼唤大牛们--问关于C++Destructor的问题几个问题
question regarding effective c++ by Meyers有大侠讲讲RTTI和exception的问题么?
c++ initialize struct包含指针的类和vector的问题
相关话题的讨论汇总
话题: c++话题: add话题: libraries话题: question话题: interview
进入Programming版参与讨论
1 (共1页)
b***y
发帖数: 2799
1
☆─────────────────────────────────────☆
lhict (至少还有我) 于 (Sat Apr 28 16:39:31 2007) 提到:
You have a class that many libraries depend on. Now you need to modify
the class for one application. Which of the following changes require
recompiling all libraries before it is safe to build the application?
a. add a constructor
b. add a data member
c. change destructor into virtual
d. add an argument with default value to an existing member function
====================
1 (共1页)
进入Programming版参与讨论
相关主题
包含指针的类和vector的问题请教一下,exception时,destructor一定会被调用么?
What is wrong with the constructor calling?用包子呼唤大牛们--问关于C++Destructor的问题
请教一个基本的constructor和destrcutor问题question regarding effective c++ by Meyers
请教这个程序里用到了什么constructor啊?有几个copy constructor?c++ initialize struct
问个题。我真不明白c++有什么难的
急问:compile and build dependency一个c++ constructor的问题, thanks
问个面试问题,请教菜鸟请教smart pointer
请教个Bloomberg 的 C++ 题目[C++] when destructors get called
相关话题的讨论汇总
话题: c++话题: add话题: libraries话题: question话题: interview