C语言常见英文词汇表
C语言用词 |
英文原词 |
中译 |
C语言用词 |
英文原词 |
中译 |
int |
integer |
整性(数) |
auto |
automatic |
自动的 |
float |
float |
浮点(数) |
break |
break |
中止 |
char |
character |
字符 |
case |
case |
…的情况 |
continue |
continue |
继续 |
const |
Constant |
常量 |
do |
do |
做… |
default |
default |
默认、缺省 |
else |
else |
其他、否则 |
double |
double |
两倍、双精度 |
extern |
extern |
外部的 |
enum |
|
枚举 |
while |
while |
当… |
for |
for |
从… |
goto |
Go to |
去、转移 |
if |
if |
如果 |
long |
long |
长、长整型 |
register |
register |
寄存器 |
return |
return |
返回 |
short |
short |
短的、短整型 |
signed |
signed |
有符号的 |
sizeof |
Size of |
…的体积 |
static |
static |
静态的 |
struct |
structure |
结构类型 |
switch |
Switch |
开关 |
typedef |
|
类型定义 |
union |
Union |
联合 |
unsigned |
unsigned |
无符号 |
void |
void |
空的 |
volatile |
volatile |
可变的 |
include |
include |
包含… |
define |
define |
定义 |
endif |
|
If的结束 |
ifdef |
If define |
如果定义了 |
error |
error |
错误 |
line |
line |
行 |
ifndef |
|
如果没有定义 |
undef |
|
当没有定义 |
scanf |
|
输入扫描函数 |
printf |
|
输出函数 |
getchar |
|
输入一个字符 |
putchar |
|
输出一个字符 |
strlen |
|
字符串长度 |
strcpy |
|
字符串拷贝 |
strcmp |
|
字符串比较 |
strcat |
|
字符串连接 |
gets |
|
输入字符串 |
puts |
|
输出字符串 |
main |
|
主函数 |
|
|
|
|
Algorithm |
算法 |
|
write |
写 |
|
file |
文件 |
|
Program |
程序(设计) |
|
input |
输入 |
|
read |
读 |
|
variable |
变量 |
|
output |
输出 |
|
type |
类型 |
|
expression |
表达式 |
|
counter |
计数器 |
|
statement |
语句 |
|
string |
串、字符串 |
|
array |
矩阵、阵列 |
|
selection |
选择 |
|
repetition |
循环 |
|
sequence |
顺序 |
|
function |
函数 |
|
true |
真 |
|
false |
假 |