> > struct Point3D > { > int x,y; > }; > > ... Sorry I was originally intending to do a 3D example but then changed my mind but forgot to change the names to Point2D. :)