30.07.2010, 21:46
Create a 1D dynamic array first and then allocate for each member a new 1D dynamic array in a loop, so you have an array in an array. Remember to free the allocated memory right, like they did in the example.
http://www.cplusplus.com/forum/articles/7459/
"Pointer based multi-dimensional arrays"
You will find many topics in ****** about this because this is a very common question.
http://www.cplusplus.com/forum/articles/7459/
"Pointer based multi-dimensional arrays"
You will find many topics in ****** about this because this is a very common question.