Backing up

This commit is contained in:
2020-03-29 15:39:26 -06:00
parent 6474ac5d21
commit 0b393b2581
63 changed files with 3755 additions and 0 deletions

22
HW10/City.h Normal file
View File

@@ -0,0 +1,22 @@
//
// Created by Brady Bodily on 3/28/20.
//
#ifndef HW10_CITY_H
#define HW10_CITY_H
class City {
int X, Y, Name;
public:
City() {}
void SetCoordinates(int x, int y, int name){ X = x; Y = y; Name = name; };
int GetX(){ return X; }
int GetY(){ return Y; }
int GetName(){ return Name; }
bool operator< (const City &other) const {
return Name < other.Name;
}
};
#endif // HW10_CITY_H