Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Sepplesox

Name: Anonymous 2011-07-24 21:05

Just tell me one thing about Sepplesox:  Can I have a container1 of mixed types2,3?  If the answer is no, then you can keep it and I'll stick with C, thank you.
1 vector, etc, not something custom
2 not a "vector of pointers," but a vector of actual objects of different classes
3 it's fine if the types are required to share the same base class, e.g. vector<shape> shapes = { circle, square, triangle };

Name: Anonymous 2011-07-24 21:18

>>1
You don't understand how C++ works at even basic levels.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List