I have a problem with accessing two-dimension array in the subprogram which was allocated dynamically in the main program.
The declaration is:
const short mdeme;
double (*nv)[mdeme] = new double[nval][mdeme];
When I'm tring to initialize an array in subprogram I'm getting an error: Access...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.