1234567
for(int i = 1 ; i <= num ; ++i){ players.push_back(new HumanPlayer()); } for(int i = 0 ; i < num ; ++i){ delete players[i]; }
players.clear(); // After line 7