use of Classes, structures, Text files, memory alllocation



Instructions
Please read the following instructions (related project code) carefully:
You'll be expected to observe good programming standards.
• Project code must follow C++ syntax
• Data used in each project must be retrieve and saved in Text Files
• Your project may cover the concepts learnt in CS201 particularly
1. Structures
2. Dynamic memory allocation
3. Text Files
4. Classes , Friend functions ,Function overloading
• You must include a comment explaining the purpose of every variable you use in your program.
• You must use meaningful, suggestive, self-explanatory variable names.
• Precede every major block of your code with a comment explaining its purpose.
• Indent the code properly for making it more understandable

It should be clear that your project will not get any credit if:
o The project is submitted after due date.
o The submitted project does not open or file corrupt.
o The project is copied.
Note: You have to submit Source code (.cpp) , executable file (.exe) and text files (.txt) of your project.

Objective
The objective of project is to enhance your knowledge and sharpen your analytical and programming abilities so that you can work in a professional environment.

Project Title: Daewoo (a Bus service) Reservation System
Project Description:
This program is supposed to simulate a Reservation System of Daewoo. Using this program, Daewoo ticket reservation agency assistant can perform different tasks related to ticket reservation.

The Daewoo Reservation System will ask the user for the following information :
• Name of passenger
• Departure City
• Destination City
• Date of travel
• Time of travel
• Number of tickets
The Daewoo Reservation System should have the following features:

1. Make Reservation-to reserve ticket/tickets for a passenger and indicate his/her seat number.
2. Modify reservation-to modify the already made reservation
3. Cancel reservation-to cancel a particular reservation
4. Search reservation- to search reservation information of a particular passenger by
a) Passenger name
b) Date of travel
5. Exit –to exit from application

Daewoo Reservation System should also support persistence for passenger ticket reservation records
Supporting simple persistence by any application requires handling of two scenarios
• On start up of application-data (passenger ticket reservation records) must be read from file.
• On end/finish up of application -data (passenger ticket reservation records) must be saved in file.


Seems fairly straight forward to me :-)
Are you asking this forum to do your homework for you?
@Return:

LOL, if he is how will he succeed in the real world as a developer if he's trying to get others to do his work. Do it youself if that is the case, but this should be beneficial for beginners.

It should be clear that your project will not get any credit if:
o The project is submitted after due date.
o The submitted project does not open or file corrupt.
o The project is copied.


Maybe I'll do it and put //Author MikeB from cplusplus.com in an obscure place and get him zero credit anyway.

What I'm wondering is, are these high school or college students? Either way, why did they take a class like this if they don't want to put in a little, tiny bit of effort? That goes for all of these homework questions that pop up.
Last edited on
Perhaps the assignment should be used as a test which has to be taken before someone is able to post in this forum.
@ bugsquasher/mc070403431: creating multiple accounts is not allowed, so get lost.
Maybe I'll do it and put //Author MikeB from cplusplus.com in an obscure place and get him zero credit anyway


just do it :), but i know, nobody will try to understand the problem.
Topic archived. No new replies allowed.