#include "point.h" #include void main() { char any; CPoint p1, p2,p3, p4; p1.x=35; p1.y=12; p2.setxy(10,15); cout << "First Point" << endl; p1.show(); cout << "Second Point" << endl; p2.show(); p3=p4.middlepoint (p1,p2); // p4 is a temporary variable. p3.show (); cin >> any; }