I'm working on some coding and ran into the problem that my multidimensional arrays are too large for my RAM. After reading a lot of articles, I figure that what I need to do is dynamically allocate the size of the array?
The array that I need to do this to is:
I have three questions:
1) Am I correct in assuming that dynamic allocation will fix my problem?
2) Would it be better if I changed my array into a vector?
3) Could someone please give an example of how I could fix my problem?
Thanks so much.