| 源程序 | source program | 通过字符序列创造出来的程序 |
| 源文件 | source file | 保存源程序的文件 |
| 诊断信息 | diagnostic message | 编译,链接或执行时发生的错误信息 |
| 注释 | comment | //单行或者/*多行 */ |
| 函数调用 | function call | |
| 实参 | argument | |
| 语句 | statement | |
| 翻译阶段 | translation phase | |
| 格式化字符串 | format string | |
| 转换说明 | conversion specification | %d,%s |
| 换行 | new line | \n |
| 字符串常量 | string literal | "abc" |
| 转义字符 | escape sequence | \n,\a |
| 响铃 | alert | \a |
| 常量 |
constant | 5,5L |
| 变量 | variable | a,b |
| 声明 | declaration | int n; |
| 整型 | int | |
| 初始化 | initialize | int a=3; |
| 初始值 | initializer | |
| 运算符 | operator | |
| 操作数 | operand | |
| 乘除运算符 | multiplicative operator | |
| 加减运算符 | additive operator | |
| 双目运算符 | binary operator | |
| 单目运算符 | unary operator | |
| 三目运算符 | ternary operator | |
| 单目-运算符 | unary - operator | |
| 单目算术运算符 | unary arithmetic operator | -a,+a,!a,~a |
| 基本赋值运算符 | simple assignment operator | a=3 |
| 表达式 | expression | a+3,b=a+3 |
| 赋值表达式 | assignment expression | b=a+3 |
| 表达式语句 | expression statement | b=a+3; |
| 浮点数 | floating-point number | |
| 类型 | type | |
| 对象 | object | |
| 整型常量 | integer constant | 5 |
| 浮点数常量 | floating constant | 3.14 |
| 类型转换表达式 | cast expression | (double) (a+b) / 2 |
| 类型转换符 | cast operator | () |
| if语句 | if statement</ |
C/C++术语,中英文对照
于 2022-03-10 20:19:12 首次发布
本文详细介绍了C/C++编程语言中的关键术语,包括变量、函数、指针、内存管理等概念,为初学者提供中英文对照,帮助理解这些核心概念。

最低0.47元/天 解锁文章
1万+

被折叠的 条评论
为什么被折叠?



