1 2 3 4 5 6 7 8 9 10 11 12 13
#ifndef location_h #define location_h class Location { public: Location(){x=0;y=0;} Location(int xn, int yn){x=xn;y=yn;} int x; int y; }; #endif