hi guys, I am working on a project for my school, and I was wondering whether I can get some guidance and tips on how to tackle it.
Here’s the problem in brief:
I was asked to develop a program so that users can input the data values of 2 rectanglees and 4 points and using operator function to find out whether the 2 rectangles are the same (using the area of rectangles) and if not which of the two is bigger, also determine whether the point mentioned above are within the rectangle or outside and output the answer. The hints I am given are to use 2 classes: one for the points (using constructors - copy, explicit etc (?) - , member functions - operator functions(?)) - and one for the rectangle – containing coordinates (4), width and height, constructors and operators functions. The x and y (top left coordinates 0,0) are coordinates of the GUI windows.
Now, is it a good idea to start by drawing all this do you think?
thanks