Original Post
Hi,
Does anyone know a good place to find information on making a template array class.
I''ve looked them up before and I can''t find anything that starts at the beginning (or basics). I have heard that the STL has a vector class which is basically this but this isn''t what I want as a) It is quite complicated b) I want to program it myself.
I have a rough idea what to do for most of it but I really need help with the memory allocation as this is probably my weakest point.
Specification:
Array of any ABT.
Dynamic Resizing.
Array Bounds functions.
Clear and Fast Code.
I have made and used template linked lists but these tend to get slow when you have a large number of elements.
Thanks in advance, Meto