   polymorphism? shoo!
  i want to have a cObjectManager class that manages lists of different objects. however, i am going to have derived cases of cObject, such as cSFX(speical effect), cBullet, cEnemy. they will all have a member bool expired. however, their checkexpired() function will be different for each type. however, the manager class doesnt care how it is checked, it just sees if it has expired and then removes it from the list. but if the vector/list is of cObject, will there be problems if i use derived classes of them? would i have to cast? would they then be cObjects and lose their specific functionality?thanks! 
  must be a vector of pointers to cobjects ;  well i have a vector of pointers to cObject, and as i feared it looks as though when i put in a derived form of cObject, such as checkExpire(); it runs the cObject() check expire, not the derived cases of them, so it runs the base function, and not the overloaded one. why? how can i fix it? ;  Did you make it virtual in cObject?   AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system. ;  you have to have a virtual destructor! ;  it has to be virtual, and it has to be exactly the same function declaration. don''t change a thing. ;  yeah making it virtual worked, thanks. 