double* p=new double[m];for(int i=0;i<mi++){
p[i]=new double[n];
}代码如上,我想查看整个二维数组的值。用vs自带的变量监视
人生最曼妙的风景,竟是内心的淡定与从容!
There is something wrong with your code.
According to your thinking, should it be written like this?
double** p = new double*[m]; for (int i = 0; i < m; i++){ p[i] = new double[n]; }
Then use
p[1][2]
You can see the content this way.
There is something wrong with your code.
According to your thinking, should it be written like this?
Then use
in monitoringYou can see the content this way.