已经成功地使用一维数组完成了以下工作:
int* array; array = new int[somelength];
想用一个2D数组做以下操作,但是它不编译:
int* array; array = new int[someheight][somewidth];
相似问题