Jump to content
Larry Ullman's Book Forums

Maybe There'S A Mistake In Script 8.2


Recommended Posts

Dear experts:

 

There seems to be a problem with script 8.2 in the C++ book.  I can't find any constructors for the subclasses.  Also, this script is not present in the downloaded cpp_scripts folder.  It skips this one, is it because it has this problem?  Thank you.

 

Michael J. Zehe

Link to comment
Share on other sites

I merely failed to see the constructor + deconstructor on lines 31-35 and 65-79, being bleary-eyed after studying this stuff too much.  I was also confused because pets.cpp is script 8.1, but pets2.cpp is 8.3, and it seemed that Larry had shifted things somehow.  Failing to see that 8.2 was flow.cpp. 

 

I told you my brain was smoked!!

 

Mike

  • Upvote 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...