Why not just use the STL std::vector?