Here is the website for the assignment:

http://www.docdroid.net/6ap6/inheritance5.pdf.html

Note: The ones highlighted in blue are the ones I completed, and the ones highlighted in yellow are the ones I need help with.

Here is the website for the first header file (point.h):

http://ideone.com/6bAeqv

Here is the website for the first library source file (point.cpp):

http://ideone.com/9gWBCb

Here is the website for the second header file (quadrilateral.h):

http://ideone.com/iylItq

Here is the website for the second library source file (quadrilateral.cpp):

http://ideone.com/HmGfVT

Here is the website for the third header file (trapezoid.h):

http://ideone.com/LEsFER

Here is the website for the third library source file (trapezoid.cpp):

http://ideone.com/N5rF76

Here is the website for the fourth header file (parallelogram.h):

http://ideone.com/LJ2YTQ

Here is the website for the fourth library source file (parallelogram.cpp):

http://ideone.com/sJRzkg

Here is the website for the fifth header file (rectangle.h):

http://ideone.com/WCK7zP

Here is the website for the fifth library source file (rectangle.cpp):

http://ideone.com/C7lMep

Here is the website for the sixth header file (square.h):

http://ideone.com/9Ltunp

Here is the website for the sixth library source file (square.cpp):

http://ideone.com/8bQlh5

Here is the website for the client file (test.cpp):

http://ideone.com/lC5Yea

Here is the website for the project file (assignment5.PRJ):

http://ideone.com/ZD3jTI

My question is: I'm not sure if I did the validate() function correctly and how to call it in the constructors and manipulators and, in the test program, I'm not sure if I did the parallel and perpendicular lines test for each type correctly. Also, I'm having trouble with printing the coordinates. When I input -4 and -1 for the first point, 4 and -1 for the second point, 4 and 7 for the third point, and -4 and 7 for the fourth point, all I am getting is (0,0), (0,0), (0,0), (0,0). Is there anything I need to fix or change in my header files, library source files, or the client file? These are the last things I need help with.