C++ primer 部分術語

C++ primer 可謂是經典的不能在經典的一本書

這本書的每一章節背後都有些術語,我按順序摘抄了些...以後補全

C++ primer 術語

第一章

Argument  實參

Block 塊

Buffer 緩衝區

Built-in type 內置類型

Cerr

Cin

Class 類

Class type 類類型

Clog

Comment 註釋

Condition 條件

Cout

Curly brace 花括號

Data structure 數據結構

Edit-compile-debug 編輯-編譯-調試

End-of-end 文件結束符

Expression 表達式

For statement  for 語句

Function 函數

Function body 函數體

Function name 函數名

Header 頭文件

If statement  if 語句

iostream 輸入輸出流

istream 輸入流

library type 標準庫類型

main function 主函數

manipulator 操縱符

member function 成員函數

method 方法

namespace 命名空間

ostream 輸出流

parameter list 形參表

preprocessor directive 預處理指示

return type 返回類型

source file 源文件

standard error 標準錯誤

standard input 標準輸入

standard library 標準庫

standard output 標準輸出

statement 語句

std

string literal 字符串字面值

ininitialized variable 未初始化變量

variable 變量

while statement  while 語句

((),++,+=,.,::,=,<<,>>,==,!=,<=,<,>=,>)operator

第四章 數組與指針

C-style string C風格字符串

Complier extension 編譯器擴展

Const void*

Delete expression delete表達式

Dimension 維數

Dynamically allocated 動態分配的

Free store 自由存儲區

Heap 堆

New expression new表達式

Pointer 指針

Pointer arithmetic 指針算數操作

Precedence 優先級

Ptrdiff_t

Size_t

(*,++,[],&) operator

Void*

第五章 表達式

Arithmetic conversion 算數轉換

Associativity 結合性

Binary operator 二元操作符

Cast 強制類型轉換

Compound expression 複合表達式

Const_cast

Conversion 類型轉換

Dangling pointer 懸掛指針

Delete expression delete表達式

Dynamic_cast

Expression 表達式

Implicit conversion 隱式類型轉換

Integral promotion 整形提升

New expression new表達式

Operand 操作數

Operator 操作符

Operator overloading 操作符重載

Order of evaluation 求值順序

Precedence 優先級

Reinterpret_cast

Result 結果

Static_cast

Unary operator 一元操作符

(~ , ?: ^ | ++ -- << >>)operator

第六章 語句

Assert

Block statement break語句

Case label  case標記

Catch clause catch語句

Compound statement 複合語句

Continue statement continue語句

Dangling else 懸掛else

Declaration statement 聲明語句

Default label default語句

Exception classes 異常類

Exception handler 異常處理代碼

Exception specifier 異常說明符

Expression statement 表達式語句

Flow of control 控制流

Goto statement goto語句

If else statement if else 語句

If statement if 語句

Labeled statement 帶標號的語句

Null statement 空語句

Preprocessor macro 預處理宏

Raise 引發

Switch statement switch 語句

Terminate

Throw expression throw表達式

Try block try塊

While loop while語句

第七章 函數

Ambiguous call 有二義性的調用

Argument 實參

Automatic object 自動對象

Best match 最佳匹配

Call operator 調用操作符

Candidate function 候選函數

Const member function 常量成員函數

Construct 構造函數

Constructor initialize list 構造函數初始化列表

Default constructor 默認構造函數

Function 函數

Function body函數

Function matching 函數匹配

Function prototype 函數原型

Inline function內聯函數

Local static function 局部靜態函數

Local variable 局部變量

Object lifetime 對象生命期

Overloaded resolution 重載確定

Overloaded function 重載函數

Parameter 形參

Recursive function 遞歸函數

Return type 返回類型

Synthesized default constructor 合成默認構造函數

Temporary object 臨時對象

This pointer this指針

Viable function 可行函數

第八章 標準IO庫

Base class基類

Condition state條件狀態

Derived class派生類

File mode文件模式

Fstream

Inheritance繼承

Object-oriented library面向對象標準庫

Stringstream

第12章 類

Abstract data type抽象數據類型

Access label 訪問標號

Class 類

Class declaration 類聲明

Class keyword class關鍵字

Class scope 類作用域

Concrete class具體類

Const member function 常量成員函數

Constructor initialize list 構造函數初始化列表

Conversion constructor 轉換構造函數

Data abstraction 數據抽象

Default constructor 默認構造函數

Encapsulation 封裝

Explicit constructor 顯式構造函數

Forward declaration 前向聲明

Friend 友元

Incomplete type 不完全類型

Member function 成員函數

Mutable data member 可變數據成員

Name lookup 名字查找

Private member 私有成員

Public member 公有成員

Static member 靜態成員

Struct keyword struct 關鍵字

Synthesized default constructor 合成的默認構造函數

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章