Need Help in Writing An Airport simulation

I have team assignment
Write program:
Airport (Airplane, Airport, Passenger):
airplanes, passenger transport, purchase of aircraft, airport development, etc.

So for example if I press 1- it shows information about airplanes. 2-purchase aircraft.
My job is to write a function which would show all information about airplane.

My questions:
How do I do that if I don't know what code my team is writing? What would this function scan in order to display information.
How do I realize this code?

Sorry for broken English.
Your function sig could look like this: void print_plane(const Airplane& plane)
Now comes the tricky part, you need to know what members plane has so you can access its data. Normally there should be some header file like Airplane.h that describes the Airplane class.
Topic archived. No new replies allowed.