Question: I need help setting this code up. I don't really understand how to use classes. Also, would I have to use #include ccc_win.h or do
I need help setting this code up. I don't really understand how to use classes. Also, would I have to use #include "ccc_win.h" or do I just use #include 
Exercise P5.18. Design a class House that defines a house on a street. A house has a house number and an (x, y) location, where x and y are numbers between -10 and 10. The key member function is plot, which plots the house. G Next, design a class Street that contains a number of equally spaced houses. An object of type Street stores the first house, the last house (which can be anywhere on the screen), and the number of houses on the street. The Street: :plot function needs to make the intermediate house objects on the fly, because you don't yet know how to store an arbitrary number of objects. Use these classes in a graphics program in which the user clicks with the mouse on the locations of the first and last house, then enters the house numbers of the first and last house, and the number of houses on the street. Then the entire street is plotted
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
