Create the .cpp file of this .h file in c++
#include #include #include using namespace std;class Airport {public:Airport(){cout < "creating="" blank="" airport.="">Airport(string newID){ IATA = newID; }Airport(Airport&); // copy constructorvoid Initialize(string newID, string newCity, long double newLat, long double newLong){IATA = std::move(newID);city = std::move(newCity);latitude = newLat;longitude = newLong;}// ostream& operator <>// ofstream& operator <>bool operator == (Airport);long double GetLat() {return latitude;}long double GetLong(){ return longitude;}string GetCity(){ return city;}string GetID() {return IATA;}void Print();private:string IATA;string city;long double latitude, longitude;};
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here