Dynamic Memory

I've been trying to write a little thing. I want to have a new variable added each time the user adds an item to a list. I'm thinking of having another variable that goes up each time the user adds an item. something like item_x where x is the variable name. How do I do this?
The Tutorial has info on this, try looking at http://www.cplusplus.com/doc/tutorial/dynamic.html (which explains it all, and avoides me forgetting something)

If you still have any specific problems, just ask:-)
Topic archived. No new replies allowed.