| [C++] Multi-Dimensional Array I'm needing the syntax for creating a multi-dimensional (We'll just say 2D.) array on the fly.
The size of both dimensions will not be known until run-time.
I've tried string string *fileArray = new string[x][y]; but it won't compile like that.
string **fileArray = new string[x][y]; doesn't work either =\
I can't find any quick syntax solutions, only ways around this limitation. Does anyone out there know a fix? |