C++ | 变量缩写

A
absolute -> abs
address -> addr
application -> app
argument -> arg
arguments -> args
array -> arr
assemble -> asm
asynchronize -> async
attribute -> attr
attributes -> attrs
average -> avg
B
background -> bg
button -> btn
buffer -> buf
C
calculate -> calc
configure -> conf
control -> ctrl
count -> cnt
current -> curr
D
database -> db
delete -> del
description -> desc
destination -> dest
document -> doc
E
error -> err
escape -> esc
F
function -> fn
I
image -> img
increment -> inc
index -> idx
information -> info
initialize -> init
insert -> ins
J
javascript -> js
L
length -> len
library -> lib
M
manager -> mgr
message -> msg
N
number -> num
O
object -> obj
option -> opt
options -> opts
P
parameter-> param
password -> pwd
picture -> pic
point -> pt
position -> pos
previous -> prev
property -> prop
S
source -> src
string -> str
T
temporary -> tmp
V
value -> val
W
window -> wnd
命名缩写
通⽤ 缩写 翻译 控件 缩写 翻译
address addr 地址 calendar cdr ⽇历
application app 应⽤程序 messageDialog msgdlg 消息框
asynchronization asyn 异步 drawer drw 抽屉
average avg 平均数 buttonGroup btngrp 按钮分组
bitmap bmp 位图 checkBox chk 复选框
buffer buf 缓冲区 container cntr 容器
character char 字符 button btn 按钮
color clr 颜⾊ comboBox cmb 下拉框
command cmd 命令 lable lbl 标签
delete del 删除 progressBar prg 进度条
destination dest/dst ⽬的地 pageIndicator pgindic Tab分页控件
decrease dec 减少 radioButton rdo 单选框
device dev 设备 rangeSlider rngsld 滑块
different diff 不同的 scrollView svw 视图滚动
directory dir ⽬录 scrollBar vsb(垂直)/hsb(⽔平) 滚动条
document doc ⽂档 slider sld 滑动器
dynamic dyna 动态的 spinBox spn 旋转框
environment env 环境 splitView spltvw 分割视图
error err 错误 stackView stackvw 堆栈视图
execute exec 执⾏ statusBar statbr 状态条
group grp 组 swipeView swpvw 滑动控件
image img 图像 switch sw 开关
information info 信息 tabBar tbbr tab栏
initialize init 初始化 textField txtfld ⽂本输⼊框
library lib 库 toolBar tlbr ⼯具栏
maximum max 最⼤值 toolTip tltp 提⽰框
minimum min 最⼩值 toolButton tlbtn ⼯具按钮
message msg 消息 treeView trvw 树形视图
number num 数字,数,数量 layout lyt 布局
object obj 对象 mainMenu mmnu 菜单栏
parameter Param 参数(形参) groupBox gbx 组合框
package pkg 打包 pictureBox pic 图⽚框
position pos 位置 listView lvw 列表视图
previous pre 前⼀个 window win(wnd) 窗⼝
process/Procedure proc 进程/过程 form frm 表单
pointer ptr 指针 textBox txt ⽂本框
password pwd 密码 linkLabel llbl 超链接标签框
public pub 公共的 dialog dlg 对话框
reference ref 引⽤ scrollIndicator scrlindic 滚动指⽰器
source src 源
string str 字符串
summation sum 和
synchronization sync 同步
system sys 系统
table tbl 表格
temporary tmp 临时
text txt ⽂本
variable var 变量
addition add 加法/添加
argument arg 实参
array arr 数组
calculate calc 计算
configuration config 配置
column col 列
control ctrl 控制
hexadecimal hex ⼗六进制
original orig 原件
return rtn 返回
repeat rpt 重复
signal sig 信号
status stat 状态
stack stk 栈区
standard std 标准
trigger trig 触发
background bg 背景
escape esc 退出
user usr ⽤户
list lst 列表
server srv 服务
manager mgr 管理者
insert ins 插⼊
point pt 点
function func 函数
back bk 返回
break brk 间断
data dat ⽇期
edit edt 编辑
flag flg 标志
grid grd ⽹格
increment inc 增量
length len 长度
oracle ora 甲⾻⽂数据库
panorama pano 全景
print prn 打印
program prg 程序
statistic stat 统计
administrator adm 管理员
database db 数据库
change chg 改变
click clk 点击
compare cmp ⽐较
coordinates coord 坐标
copy cpy 复制
current cur 当前的
dictionary dict 字典
display disp 显⽰
driver drv 驱动
extend ex/ext 扩展
frame frm 框架/帧
index idx / ndx 索引
horizontal horz ⽔平
instance ins 实例
increase inc 增加
link lnk 链接
middle mid 中间
multiply mul 乘
resource res 资源
select sel 选择
test tst 测试
vertical vert 垂直

posted @ 2022-05-05 14:02  zhxzh  阅读(196)  评论(0编辑  收藏  举报