C++编译期间类中的常量 时间:2016-05-18 11:22:15 【文件属性】: 文件名称:C++编译期间类中的常量 文件大小:1KB 文件格式:TXT 更新时间:2016-05-18 11:22:15 C++ 问题:在类中建立一个int类型的数组 方法一:(错误) class Test { const int size = 100; int array[size]; //…… }; 立即下载