As Maximilien said you should use the STL containers
http://www.cplusplus.com/reference/stl/vector/[
^]
This site is a good reference for the STL containers.
but the basic mechanics are as follows,
1. Create the vector of structures.
2. push_back or insert what you want to store can be repeated vector will grow over time.
3. erase elements you don't need
hope this helps you.
remember to delete the container after you finish using it.