摘要:
数组怎么用,全局数组就怎么用,只是他的作用域不一样才叫全局数组。。。 在A.h 或 A.cpp中定义char buf[10]; 如果在B.cpp要用,就在其开头中写成 extern char buf[10]; 例如,在HelpFun.h中定义 colorTable 数组: const Vector3f colorTable[10] = { Vector3f(0... 阅读全文
posted @ 2016-10-15 22:28
VVingerfly
阅读(12603)
评论(1)
推荐(0)

浙公网安备 33010602011771号