User profile: seraphdd

User info
User name:seraphdd
History
Joined:
Number of posts:11
Latest posts:

Using a vector of pointers correctly
I have a virtual deconstructor in my base class I'm not sure if that changes things. virtual ~Carb...

Using a vector of pointers correctly
I am trying to do delete []list; before system pause but it does not work.

Using a vector of pointers correctly
get the error push_back has not been declared. list.push_back(new Building(name, electric, gas)); ...

create X objects
I think for your case if you know how many objects you are creating at start just use an array. Vec...

Using a vector of pointers correctly
This is how I thought I would do it but I get an error and linked to stl_vector.h saying I cant do t...

This user does not accept Private Messages

User: seraphdd

  • Public profile