title: C++: Having many objects
body: <p>So, I have a question about C++. Let's say that I have an enemy class for a game. I want to be able to have (in theory) an infinite amount of enemies in my game. So I would have to have multiple instances of each class, and I would need to be able to access these separately. Would I have to have an array of enemy objects with an unlimited amount of space for the array, and I would use the new and delete operator to create and remove enemies in the array? Then I would need a variable to hold the number of enemies, right?</p>