Please read a good C++ book (http://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list), these are really basics. The error message clearly states what's wrong -- but you lack the background knowledge.
And Laurent already told you not to store copies in the container.
Well i've made, thermonuclear war, space invaders and almost finished Geometry Wars..Yes, but this doesn't express as much about the C++ knowledge as one might think.
im not a total noob :PI'm not saying that, but you obviously have some gaps which you could easily fill when reading the chapters about classes, inheritance and polymorphism in a good C++ book. Of course we can help you for this specific problem, but a book can explain these things much better and won't leave you with the next question right ahead. Also, it will save you a lot of time ;)
I have read up on virtual class documentation online and am unable to find the problem, im guessing you can't either?You should definitely stop guessing :P
Silly me was madly looking into virtual functions and polymorphism and it was just an issue with having to pass pointers :P
Silly me was madly looking into virtual functions and polymorphism and it was just an issue with having to pass pointers :P
No need to go beyond 'thank you'; a comment like this only leaves you looking like a fool.