// returns a pointer to an aeroplane_t object with a flight number // aeroplane_t->time_taken == NULL aeroplane_t* generateAeroplane() { aeroplane_t* airplane = malloc(sizeof(aeroplane_t)); airplane->flight_number = getFlightNumber(); return airplane; }
void Airline::print() { std::cout << getDestination() << "\t\t\t" << getFlightNumber() << "\t\t" << getHours() << ":" << getMinutes() << "\t" << getTypeOfAircraft() << "\t" << getWeekdays() << "\n"; }