*** struct Point  --  This file contains a decent implementation
 *** of a struct for points.  It includes overloaded operators for
 *** input and output with >> and << as well as overloaded 
 *** arithmatic opearators +,-,* and /, which all do what you'd
 **  expect.

#include <iostream>
#include <fstream>
using namespace std;

//-- struct Point
struct Point
  double x,y;

//-- overloaded arithmatic and i/o operators do what you think!
Point operator-(Point,Point);
Point operator+(Point,Point);
Point operator*(Point,double);
Point operator/(Point,double);
ostream& operator<<(ostream &,Point);
istream& operator>>(istream &,Point &);