I'm trying to assign memory por double *r[3]
Whenever I try this way it keep failing:
#include <cstdio>
int main(){
int N = 10;
double *r[3] = new double[N][3];
delete r;
retu 0;
}
How is the correct way?
I'm trying to assign memory por double *r[3]
Whenever I try this way it keep failing:
#include <cstdio>
int main(){
int N = 10;
double *r[3] = new double[N][3];
delete r;
retu 0;
}
How is the correct way?
برچسب:
نویسنده: استخدام کار