Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. susy123

    Help: c++ downcasting

    Thank u so much Uolj, at last i made the program work. I confess that i´m a novice in c++ and i really dont see other way than this to make a program where different derived class objects are stored in a vector or array. Why is this a poor programming practice? Does anyone knows other way?
  2. susy123

    Help: c++ downcasting

    Hi everybody! I´m trying to make this program where i store in a vector different types of derived objects from a single base class. So i declare the vector like this: vector<BaseClass> vec; then, assuming that all derived objects are, naturally, base class objects i push a DerivedClass object...

Part and Inventory Search

Back
Top