i'm writing an airline program for my c++ class, and i cant get the program to load past the array display_menu, i dont know what's going on with it
i was wondering if someone could look at it and tell me what's going on with it,
oh, and attarched is the "c:\felicias\airline.txt" file i made (i also pasted the code in there),
the text file is probably wrong, i dont know..
i was just trying to get it to work and i thought maybe that was the prob.
here are the requirements...
Purpose: to read and process information from a sequential file using an array of structures.
Produce an airline reservations program to read up to 50 entries from the data file i:\techbldg\instructors\marty\airline.txt into an array of structures. Each record will contain the following fields : Flight number (integer), space, Origination point ( 15 chars), space, Destination point (15 chars), space, Departure time (8 chars), and Departure date (8 chars).
The program should then provide a user-friendly menu screen to allow the user to:
1. Search by Flight number
2. Search by Origination Point
3. Search by Destination point
Choice 1: The program will then perform a sequential search by flight number to display the Origination point, Destination point, and Departure time.
Choice 2 & 3: The program will do a sequential search by city name, displaying each city with the entered name.
An error message should print if the flight number or city name is not found.