由Array函数建立的数组的名字必须是什么类型?

来源:百度知道 编辑:UC知道 时间:2024/05/31 16:02:25
由Array函数建立的数组的名字必须是什么类型?
最好能给你一个权威资料的网址,因为答案好多不一样,给个具体的答案,我在soso上也提问过,答案也不一样!

没有要求吧!!

合法的,如 a a1, a_1,A等,但是开头不能是数字,具体的给你些参考资料:
变量命名规范2008-05-26 13:54
a Array 数组

b BOOL (int) 布尔(整数)

by Unsigned Char (Byte) 无符号字符(字节)

c Char 字符(字节)

cb Count of bytes 字节数

cr Color reference value 颜色(参考)值

cx Count of x (Short) x的集合(短整数)

dw DWORD (unsigned long) 双字(无符号长整数)

f Flags (usually multiple bit values) 标志(一般是有多位的数值)

fn Function 函数

g_ global 全局的

h Handle 句柄

i Integer 整数

l Long 长整数

lp Long pointer 长指针

m_ Data member of a class 一个类的数据成员

n Short int 短整数