I would like to allocate memory from pool for a matrix. How to do this correctly?
Do I have to allocate the memory for a vector of pointers first? Or just the matrix entries?
I would like to allocate the whole matrix in one memory block.
float **matrix=NULL;
int Cols=someValue, Rows=someValue;
How to allocate this with memory pool like this:
void *Allocate(int Size);
Thanks in advance,
regards