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

Share this post

Link to post
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!!



  • Upvote 1

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...