Code For Chapter 5 Part 1 In C++

  • Please log in to reply
No replies to this topic

#1 CompuChino


    New Member

  • Members
  • Pip
  • 1 posts

Posted 02 September 2014 - 05:44 AM

Can anyone give me the Code for at least chapter 5 part 1 in C++? I'm especially interested in the implementation of the method
Inventory::addInstrument(..., InstrumentSpec spec);
If the method is called I pass a GuitarSpec object (which works). But inside the method I can't cast InstrumentSpec spec back to GuitarSpec.

I would be very grateful for help.

Edited by CompuChino, 02 September 2014 - 05:45 AM.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users