j*******o 发帖数: 34 | 1 #include "stdlib.h"
#include "iostream.h"
int main(void)
{
int n1=1, n2=2, n3=3, n4=4, ****arr4=new int ***[n1];
for (int i1=0;i1
arr4[i1]=new int **[n2];
for (int i2=0;i2
arr4[i1][i2]=new int *[n3];
for (int i3=0;i3
arr4[i1][i2][i3]=new int [n4];
for (int i4=0;i4
arr4[i1][i2][i3][i4]=rand();
}
}
}
}
for (int i1=0;i1
for (int i2=0;i2
for (int i3=0;i3阅读全帖 |
|