I've used the following code, and it worked.
CClasseB*** p = new CClasseB**[rows];
for (int i = 0; i != rows; ++i)
{
p[i] = new CClasseB*[cols];
for (int j = 0; j != cols; ++j) ...
Type: Posts; User: Timo002
I've used the following code, and it worked.
CClasseB*** p = new CClasseB**[rows];
for (int i = 0; i != rows; ++i)
{
p[i] = new CClasseB*[cols];
for (int j = 0; j != cols; ++j) ...
Well, this is actually not the problem, but I wanted to indicate that something was going wrong.
The m_pPointer is declared as follows:
CClassB **m_pPointer;
Hello, I've got the following problem:
I want a two-dimensional dynamic array of pointers to classes. In the two dimensional dynamic array will be pointers to another class. So that I can call...