O'Reilly Forums: Code For Chapter 5 Part 1 In C++ - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Code For Chapter 5 Part 1 In C++ Code for Chapter 5 part 1 in C++

#1 User is offline   CompuChino 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 02-September 14

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.

This post has been edited by CompuChino: 02 September 2014 - 05:45 AM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users