Necuima Posted April 23, 2015 Share Posted April 23, 2015 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 More sharing options...
Larry Posted April 25, 2015 Share Posted April 25, 2015 Thanks for reporting that! I'll confirm it and get it fixed. Link to comment Share on other sites More sharing options...
Larry Posted February 8, 2016 Share Posted February 8, 2016 (Catching up with waaaaay toooo old forum threads that I've been "watching"...) The setSize() method isn't needed to initially set a rectangle's size, but is something I would keep in there in order to resize an existing rectangle. Link to comment Share on other sites More sharing options...
Recommended Posts