i am now doing a Flight Reservation System using classes and file system ...
i know how to store data about passengers info into a file and store flight info into another file.
the problem now is:
Example of flight info:
the flight info is saved in the flight.dat
Example of passenger info:
Flight: US to Aust
the passenger info is saved in the passenger.dat.
Each flight can takes up to 20 passengers.
how am i suppose to reserved a place for Amy ?