Jump to content
Larry Ullman's Book Forums

Script 7.6 - Rectangles5.cpp

Recommended Posts

Hi Larry,


I have been working through the book and am at script 7.6 - rectangles5.cpp.


Because of the constructor, I found that the setSize method is no longer needed as the constructor does the same job.


I commented out all references to the setSize method and the application executes correctly in my Dev-C++ IDE.


FYI, Cheers from Oz.

Link to comment
Share on other sites

  • 9 months later...

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...