Use the std::vector class from the standard library.
std::vector
Comment
Save my name, email, and website in this browser for the next time I comment.