(C/C++) Interview in English - Basic concepts.
|
Question |
Key words |
Anwser |
A |
assignment operator |
|
|
|
abstract class |
|
It is a class that has one or more pure virtual functions. |
|
assignment & |
constructed -> |
Assignment changes |
|
array & |
|
An array is a |
|
argument passing |
call-by-value |
call-by-value. This |
B |
|
|
|
C |
constructor |
object , initialize |
Constructor creates |
|
copy constructor |
initialze by |
Constructor which |
|
conversion constructor |
single argument |
constructor with a |
|
const reference |
|
a) Using const |
|
container class |
|
A container class |
|
const |
|
表示常量不可以修改 |
|
|
|
|
D |
destructor |
delete |
Destructor usually |
|
data structure |
|
A data structure is |
|
|
|
|
E |
encapsulation |
code and data |
Encapsulation is |
F |
|
|
|
G |
globle variable |
|
In memory storage |
H |
Heap & |
|
Heap是堆,空间是由手动操作分配和释放的,它的存储区很大的自由存储区。 |
I |
inheritance |
derived |
Inheritance is a |
|
Iterator class |
traverse |
A class that is |
|
inline function |
expanded |
An inline function |
J |
|
|
|
K |
|
|
|
L |
|
|
|
M |
malloc()/free(), |
memory , |
1)malloc()/free() |
|
memory allocation |
|
1)static 内存在程序编译的时候就已经分配好,这块内存在程序的整个运行期间都存在。例如全局变 |
N |
|
|
|
O |
Overloading (重载) & |
Same function name |
Overloading is a |
P |
polymorphism |
virual funcition , |
one interface, |
|
private,protected,public |
members and friend |
Private members are |
|
pure virtual |
virtual void |
A pure virtual |
|
potinter & |
initialization/change/void |
1) Reference must |
Q |
|
|
|
R |
reference |
& |
C++’s default |
S |
struct & class |
default access |
The default access |
|
static member of a |
exist once |
Static data members |
|
static |
|
1) static Local |
|
signature |
|
Function's |
|
Silently write and |
|
Constructors, |
|
storage classes |
auto/register/static/extern |
auto: the default. Variables are automatically created and |
T |
template & |
|
Using |
|
this pointer |
object's function |
The this pointer is |
U |
using' declaration? |
|
A using declaration |
V |
virtual & |
run-time |
The behavior of a |
|
virtual function |
derived class |
虚函数是指在基类中使用了vitual申明,并且在一个或多个派生类中被重新定义的函数 |
|
Virtual Destructor? |
|
sing virtual |
|
volatile |
|
volatile 确保本条指令不会因编译器的优化而省略,且要求每次直接读值.
简单地说就是防止编译器对代码进行优化.
比如:操作系统、硬件或者其它线程等。遇到这个关键字声明 |
(C/C++) Interview in English - Basic concepts.的更多相关文章
- Basic Concepts of Block Media Recovery
Basic Concepts of Block Media Recovery Whenever block corruption has been automatically detected, yo ...
- (二)Basic Concepts 基本概念
Basic Concepts There are a few concepts that are core to Elasticsearch. Understanding these concepts ...
- CMUSphinx Learn - Basic concepts of speech
Basic concepts of speech Speech is a complex phenomenon. People rarely understand how is it produced ...
- Nginx Tutorial #1: Basic Concepts(转)
add by zhj: 文章写的很好,适合初学者 原文:https://www.netguru.com/codestories/nginx-tutorial-basics-concepts Intro ...
- (C/C++) Interview in English - Threading
Q. What's the process and threads and what's the difference between them? A. A process is an execut ...
- (C/C++) Interview in English. - Memory Allocation/Deallocation.
Q: What is the difference between new/delete and malloc/free? A: Malloc/free do not know about const ...
- (C++) Interview in English. - Constructors/Destructors
Constructors/Destructors. 我们都知道,在C++中建立一个类,这个类中肯定会包括构造函数.析构函数.复制构造函数和重载赋值操作:即使在你没有明确定义的情况下,编译器也会给你生成 ...
- [Network]Introduction and Basic concepts
[该系列是检讨计算机网络知识.因为现在你想申请出国.因此,在写这篇博客系列的大多数英语.虽然英语,但大多数就是我自己的感受和理解,供大家学习和讨论起来] 1 Network Edge The devi ...
- Lesson 1 Basic Concepts: Part 1
www.how-to-build-websites.com/basic-concepts/part1.php An introduction to domain names, web servers, ...
随机推荐
- 利用URLScan工具过滤URL中的特殊字符(仅针对IIS6)-- 解决IIS短文件名漏洞
IIS短文件名漏洞在windows服务器上面非常常见,也就是利用“~”字符猜解暴露短文件/文件夹名,比如,采用这种方式构造URL:http://aaa.com/abc~1/.aspx,根据IIS返回的 ...
- html部分---样式属性;
<!--大小--> width:宽度 height:高度 <!--背景与前景--> "background-color:#0F0; 背景颜色 background-i ...
- root密码
安装完Ubuntu后忽然意识到没有设 置root密码,不知道密码自然就无法进入根用户下.到网上搜了一下,原来是这麽回事.Ubuntu的默认root密码是随机的,即每次开机都有一个新的 root密码.我 ...
- 学霸网站之NABCD
1.需求(Need) 随着社会的发展,互联网产业得到了飞速的发展,如今,互联网在各个领域都取得了至关重要的作用,随之而来的数量庞大的数据也让我们每个人在学习生活中倍感压力,如何才能在这些数据中找到自己 ...
- [转]ssh常用用法小结
ssh常用用法小结 1.连接到远程主机: 命令格式 : ssh name@remoteserver 或者 ssh remoteserver -l name 说明:以上两种方式都可以远程登录到远程主机, ...
- 被IP代理网站屏蔽了,真是跪了
被IP代理网站http://www.xicidaili.com/nn/屏蔽了,真是跪了 T T
- 黑马程序员——JAVA基础之简述多线程,两种创建多线程的方式
------- android培训.java培训.期待与您交流! ---------- 多线程: 进程和线程: 进程:是一个正在执行中的程序.每一个进程执行都有一个执行顺序.该顺序是一个执行路径,或者 ...
- PS要点
1.通道 意味着我们同过不同的角度来看图像,可以得到不同的图像信息,PS是以灰度图像来表现这种信息的强弱. 我们能看到什么取决于我们的视角.任何灰度图像都可以按照不同的规则来构成彩色图像. 通道除了能 ...
- ES questions
Be Careful of Cardinality Numeric and date fields are indexed in such a way that ranges are efficien ...
- C++运算符重载详解
1.什么是运算符重载 运算符重载是一种函数重载. 运算符函数的格式:operatorop(argument-list)例如,operator+()重载+运算符.其中的op,必须是有效的C++运算符,如 ...