由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 新鲜 interveiw questions
相关主题
大家谈谈看???singleton pattern problem
written test from Interactive BrokersSecure communication puzzle
大家来讨论一下c++吧bloomberg 问题: C++ construct 时用 new 没"()"
static initialization dependency c++ (转载)[板上牛人多]问个算法题
有面过knight的吗刚看了下shuffle算法。发现有个问题
C++ Q68: initialization (skillport)发几个C++面试题,senior的职位
问一个c++问题关于reference vs. pointerA question about C++. Thanks.
面试就是面试问题,跟实际问题差太远google新题, candy crash
相关话题的讨论汇总
话题: does话题: memset话题: interveiw话题: questions话题: answer
进入JobHunting版参与讨论
1 (共1页)
c****l
发帖数: 1280
1
Please answer the following c++ questions. Do not simply answer yes/no.
Always explain your assumptions and reasoning.
1. memset is sometimes used to initialize data in a constructor like the
example below. What is the benefit of initializing this way? Does it work
in this example? Does it work in general ? Is it a good idea in general?
class A {
public:
A();
private:
int a;
float f;
char str[35];
long *lp;
};
A::A()
{
memset
1 (共1页)
进入JobHunting版参与讨论
相关主题
google新题, candy crash有面过knight的吗
想起来自己面世的一点经验C++ Q68: initialization (skillport)
抗议multi-filing的fax,书写和发送指南(非常全面)问一个c++问题关于reference vs. pointer
[合集] 找到新工作,前老板很mean说坏话怎么办?面试就是面试问题,跟实际问题差太远
大家谈谈看???singleton pattern problem
written test from Interactive BrokersSecure communication puzzle
大家来讨论一下c++吧bloomberg 问题: C++ construct 时用 new 没"()"
static initialization dependency c++ (转载)[板上牛人多]问个算法题
相关话题的讨论汇总
话题: does话题: memset话题: interveiw话题: questions话题: answer