由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 这个题目的讨论的结论是什么
相关主题
一道面试的选择题C++面试问题,高人请进啊~~~
请教1个工作面试题为什么C++的constructor出错可以抛出异常,而destructor出错
a c++ interview questionamazon 两轮电面
C++ Q65: recompiling (IB)One C++ question
问个C++重新编译的问题面经: bloomberg 电面
C++ online Test 一题an old c++ question
新Qualcomm面经C++相关的面经
包子呼唤大牛--问关于C++Destructor的问题 (转载)小公司web server面经
相关话题的讨论汇总
话题: add话题: libraries话题: class话题: member
进入JobHunting版参与讨论
1 (共1页)
c***g
发帖数: 472
1
You have a class that many libraries depend on. 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
g*********s
发帖数: 1782
2
c.

class
all

【在 c***g 的大作中提到】
: You have a class that many libraries depend on. 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

i**d
发帖数: 357
3
c吧。
因为virtual函数编译的时候要在类结构里加入虚拟表。。
1 (共1页)
进入JobHunting版参与讨论
相关主题
小公司web server面经问个C++重新编译的问题
c++ class default functions?C++ online Test 一题
virtual destructor的地址在virtual table里面吗?新Qualcomm面经
准备去BB onsite 了,求bless (undate)包子呼唤大牛--问关于C++Destructor的问题 (转载)
一道面试的选择题C++面试问题,高人请进啊~~~
请教1个工作面试题为什么C++的constructor出错可以抛出异常,而destructor出错
a c++ interview questionamazon 两轮电面
C++ Q65: recompiling (IB)One C++ question
相关话题的讨论汇总
话题: add话题: libraries话题: class话题: member