|
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, ...
随机推荐
-
FineUI(专业版)v1.2.0 和 FineUI(开源版)v4.1.1 同时发布!
FineUI(开源版)v4.1.1 (建议所有 v4.x 升级到此版本):http://fineui.com/demo/ +2014-08-15 v4.1.1 -修正Form中表单字段设 ...
-
linuxmint 17没有vim
首先上软件管理器中安装vim,之后配置.vimrc文件 下面是从网上摘抄的配置文件: """""""""&qu ...
-
Java 类型转换以及Object转成其他类型
Object转int int count=(int)map.get("count") int count=Integer.parseInt((String)map.get(&quo ...
-
WS之cxf简单实现
1.服务端实现: 1.1 定义接口,用@WebService修饰: /** @WebService 所修饰的接口,那么接口里面的方法全部都属于web的服务 */ @WebService public ...
-
SMB/CIFS协议解析一概述
一.SMB/CIFS协议的区别 在NetBIOS出现之后,Microsoft就使用NetBIOS实现了一个网络文件/打印服务系统,这个系统基于NetBIOS设定了一套文件共享协 议,Microsoft ...
-
wer
概述 快速入门流程: 使用叮当扫码产品请遵循以下操作步骤: 1. 新建项目信息 2. 新建产品信息 3. 添加发货产品 4. 发货 5. 收货 (具体使用操作请查看详细的使用说明) 文档目的: 本文档 ...
-
克拉克拉(KilaKila):大规模实时计算平台架构实战
克拉克拉(KilaKila):大规模实时计算平台架构实战 一.产品背景:克拉克拉(KilaKila)是国内专注二次元.主打年轻用户的娱乐互动内容社区软件.KilaKila推出互动语音直播.短视频配音. ...
-
easy-ui treegrid 实现分页 并且添加自定义checkbox
首先第一点easy-ui treegrid 对分页没有好的实现, 因为在分页的过程中是按照 根节点来分页的 后台只能先按照 根节点做分页查询 再将子节点关联进去, 这样才能将treegrid 按 ...
-
Tinkoff Internship Warmup Round 2018 and Codeforces Round #475 (Div. 1)D. Frequency of String
题意:有一个串s,n个串模式串t,问s的子串中长度最小的包含t k次的长度是多少 题解:把所有t建ac自动机,把s在ac自动机上匹配.保存每个模式串在s中出现的位置.这里由于t两两不同最多只有xsqr ...
-
js 立即执行函数
1.我们首先要搞明白:函数表达式和函数声明的区别. 函数表达式:既可以为匿名函数也可以有函数名,但是调用的时候都是通过函数左边的变量func来调用 var func = function(){ ale ...