Create the .cpp file of this .h file in c++ #include #include #include using namespace std; class Airport { public: Airport(){cout



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 constructor
void 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;
};



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here