由买买提看人间百态

topics

全部话题 - 话题: skillport
1 (共1页)
a****o
发帖数: 686
1
来自主题: JobHunting版 - C++ Q68: initialization (skillport)
a)
请问什么是skillport?
a****o
发帖数: 686
2
来自主题: JobHunting版 - C++ Q70: this pointer (skillport)
a),b)应该都可以写成需要this的形式。
请问什么是 skillport???
多谢。
但是如果b)不是 “in the same object”,则可以取地址&。而不是this。
c**********e
发帖数: 2007
3
来自主题: JobHunting版 - C++ Q70: this pointer (skillport)
The answer is b).
Skillport is a training company.
a****o
发帖数: 686
4
来自主题: Programming版 - C++ Q73: template (skillport) (转载)
【 以下文字转载自 JobHunting 讨论区 】
发信人: careerchange (Stupid), 信区: JobHunting
标 题: C++ Q73: template (skillport)
发信站: BBS 未名空间站 (Mon Oct 11 20:04:18 2010, 美东)
Which of the following statements are true? Multiple choices.
a) Non-template classes can be nested
b) It is possible to nest one class template inside another
c) Class templates cannot be nested
d) Class templates can be nested
a****o
发帖数: 686
5
来自主题: Programming版 - C++ Q70: this pointer (skillport) (转载)
【 以下文字转载自 JobHunting 讨论区 】
发信人: careerchange (Stupid), 信区: JobHunting
标 题: C++ Q70: this pointer (skillport)
发信站: BBS 未名空间站 (Mon Oct 11 20:02:47 2010, 美东)
Which one of the following operations requires explicit use of a this
pointer?
a) Calling a member function that requires a pointer to that object from
another member function in the same object?
b) Calling a global function that requires a pointer to that object from
a member function?
c**********e
发帖数: 2007
6
来自主题: JobHunting版 - C++ Q67: static (skillport)
What type of linkage does global variables and functions preceded by the
storage class specifier static have?
a) Internal
b) Intern
c) External
d) Extern
a****o
发帖数: 686
7
来自主题: JobHunting版 - C++ Q67: static (skillport)
a)
c**********e
发帖数: 2007
8
来自主题: JobHunting版 - C++ Q67: static (skillport)
You are right. It is a).
c**********e
发帖数: 2007
9
来自主题: JobHunting版 - C++ Q68: initialization (skillport)
Assume that the following are defined in a class as private data members.
Identify the data member that can't be initialized in a class constructor.
a) static char c
b) char *ps
c) char c
d) char c[80]
t*****j
发帖数: 1105
10
来自主题: JobHunting版 - C++ Q68: initialization (skillport)
a

members.
constructor.
c**********e
发帖数: 2007
11
来自主题: JobHunting版 - C++ Q68: initialization (skillport)
a) is right.
It is a training company.
M********5
发帖数: 715
12
来自主题: JobHunting版 - C++ Q68: initialization (skillport)
肯定是a啊,理由是static的只能在class之外初始化
c**********e
发帖数: 2007
13
来自主题: JobHunting版 - C++ Q69: #if (skillport)
Any number of which of the following directives can appear between the #if
and #endif directives? Choose an option.
a) #elif
b) #endif
c) #else
d) #if
a****o
发帖数: 686
14
来自主题: JobHunting版 - C++ Q69: #if (skillport)
b)
t*****j
发帖数: 1105
15
来自主题: JobHunting版 - C++ Q69: #if (skillport)
a c

#if
c**********e
发帖数: 2007
16
来自主题: JobHunting版 - C++ Q69: #if (skillport)
The answer is a).
a****o
发帖数: 686
17
来自主题: JobHunting版 - C++ Q69: #if (skillport)
ft,看花了眼选项了。
c**********e
发帖数: 2007
18
来自主题: JobHunting版 - C++ Q70: this pointer (skillport)
Which one of the following operations requires explicit use of a this
pointer?
a) Calling a member function that requires a pointer to that object from
another member function in the same object?
b) Calling a global function that requires a pointer to that object from
a member function?
c**********e
发帖数: 2007
19
来自主题: JobHunting版 - C++ Q71: overloading (skillport)
When can binary operators be declared as member functions?
a) when the left argument of a binary operator is an object of that class.
b) when the right argument of a binary operator is an object of that class.
c) when both arguments of a binary operator is an object of that class.
a****o
发帖数: 686
20
来自主题: JobHunting版 - C++ Q71: overloading (skillport)
a)
c**********e
发帖数: 2007
21
来自主题: JobHunting版 - C++ Q71: overloading (skillport)
The answer is a). But why c) is not correct?
M********5
发帖数: 715
22
来自主题: JobHunting版 - C++ Q71: overloading (skillport)
c的限制太宽了
举一个很简单的例子,你定义一个BigInt,你的类应该是允许 BigInt + int的,而不
是只允许BigInt + BigInt的
c**********e
发帖数: 2007
23
来自主题: JobHunting版 - C++ Q72: template (skillport)
What range of functions does a single function template define?
a) Related overloaded functions called function templates
b) Related overloaded functions called template functions
c) Unrelated overloaded functions called template functions
d) Unrelated overloaded functions called function templates
t*****j
发帖数: 1105
24
来自主题: JobHunting版 - C++ Q72: template (skillport)
c?
c**********e
发帖数: 2007
25
来自主题: JobHunting版 - C++ Q72: template (skillport)
The answer is b). I do not know why.
Any progress on your job searching?
c**********e
发帖数: 2007
26
来自主题: JobHunting版 - C++ Q73: template (skillport)
Which of the following statements are true? Multiple choices.
a) Non-template classes can be nested
b) It is possible to nest one class template inside another
c) Class templates cannot be nested
d) Class templates can be nested
a****o
发帖数: 686
27
来自主题: JobHunting版 - C++ Q73: template (skillport)
a)b)d)
c**********e
发帖数: 2007
28
来自主题: JobHunting版 - C++ Q73: template (skillport)
The answer is a) and c).
y***t
发帖数: 644
y***t
发帖数: 644
k*******d
发帖数: 1340
31
来自主题: Programming版 - C++ Q70: this pointer (skillport) (转载)
b)
这选项读起来还真拗口,不仅考C++,还考阅读了。。
h*******s
发帖数: 8454
32
来自主题: Programming版 - C++ Q70: this pointer (skillport) (转载)
a是什么意思,怎么回有个member function非要自己的指针呢
1 (共1页)