I agree with dakensta, use stl containers it's a cleaner and robust solution.
At first when using containers, it will seem confusing with iterators, but they are really quite simple and work really well, and are less error prone than many c++ language primatives.
It makes a lot of sense to learn to use containers early on, it will save you many many many hours making storage abstractions when most already exist in your STL collection of containers.
I posted some links to some good C++ reference material here:
reference material thread
Good luck...