Hi all,
I have an array that I don't know the size requirement until run-time.
The way I handle this is:
int* piMyData;
piMyData = (int*)LocalAllo c(LPTR, sizeof(int)*iDa taCount); //MS-specific
I also have a 2D char array that I don't know the size requirement until
run-time. Is there a similar method for handling this?
--
Best wishes,
Allen
No SPAM in my email !!
I have an array that I don't know the size requirement until run-time.
The way I handle this is:
int* piMyData;
piMyData = (int*)LocalAllo c(LPTR, sizeof(int)*iDa taCount); //MS-specific
I also have a 2D char array that I don't know the size requirement until
run-time. Is there a similar method for handling this?
--
Best wishes,
Allen
No SPAM in my email !!
Comment