Original Post
Okay I suppose that this is quite an easy question for you. I''m having alot of problems with my arrays, when I try to resize them, you know allocate a dynamic array, delete it and then try to regrow it I often get some 0x00000005 error, memory allocation error or something like that, can''t remember the exact words. Anyway I was wondering if anyone could give me some insight in how to grow and shrink arrays, the proper way. I''m quite at loss at how you should use the delete word sometimes
delete lArray; works and sometimes
delete [] lArray; works and sometimes none of them works...
Please give me some good sample code cause I can''t seem to figure this out on my own.
Thanks alot friends!