以下是侯捷个人收集到的 C/C++ 编程方面的术语对照。请大陆朋友给我一些意见,尤其是标示 ‘?’ 之栏位。谢谢。
两岸朋友,如果您想到哪些术语尚未列入本表,请提示我,谢谢。
新书写作时,我会以此表为叁考。
●英中繁简编程术语对照
英文 台湾惯用术语 大陆惯用术语
———————————————————— —————————
abstract 抽象的 抽象的
abstraction 抽象体、抽象物、抽象性 抽象体、抽象物、抽象性
access 存取、取用 存取、访问
access function 存取函式 存取函数
address-of operator 取址运算子 & 取地址运算符
algorithm 演算法 算法
argument 引数(传给函式的值). 叁见 parameter 叁数
array 阵列 数组
arrow operator arrow(箭头)运算子 -> 箭头运算符
assembly language 组合语言 汇编语言
assign 指派、指定、设值 赋值
assignment 指派、指定 赋值、分配
assignment operator assignment(指派)运算子 = 赋值运算符
associated 相应的、相关的 相关的、关联、相应的
associative container 关联式容器(对应 sequential container) 关联式容器
base class 基础类别 基类
best viable function 最佳可行函式 最佳可行函式
(从 viable functions 中挑出的最佳吻合者)
binary tree 二元树 二叉树 ?
binary operator 二元运算子 二元运算符
binding 系结 绑定
bit 位元 位
bitwise 以 bit 为单元┅、位元逐一┅ ?
bitwise copy 以 bit 为单元进行复制、位元逐一复制 位拷贝
block 区块 块、分组
boolean 布林值(真假值,true 或 false) 布尔值
byte 位元组(8 bits 组成) 字节
call 呼叫、叫用 调用
call operator call(函式呼叫)运算子 () 调用运算符
(同 function call operator)
chain 串链(例 chain of function calls) 链
child class 子类别(或称为derived class, subtype) 子类
class 类别 类
class body 类别本体 类体 ?
class declaration 类别宣告、类别宣告式 类声明
class definition 类别定义、类别定义式 类定义
class derivation list 类别衍化列 类继承列表
class head 类别表头 类头 ?
class hierarchy 类别继承体系