Question: C++: Comment if you'd like the pseudocode as well. Objectives Directly manipulate files using advanced file functions Utilize string and character functions to perform basic
C++:
Comment if you'd like the pseudocode as well.




Objectives Directly manipulate files using advanced file functions Utilize string and character functions to perform basic input validation Problem: In preparation for the release of Avengers 4 next summer, you have been hired by the owner of a very small movie theater to develop the backend for an online ticket reservation system. The program should display the current seating arrangement and allow the patron to select seats. A report should be generated at the end of the program to specify for each individual auditorium and overall for all auditoriums how many seats were sold/unsold and how much money was earned Pseudocode: Your pseudocode should describe the following items Main.cpp o List functions you plan to create " Determine the parameters "Determine the return type *Detail the step-by-step logic that the function will perform o Detail the step-by-step logic of the main function Details The seating arrangement for the auditorium will be stored in a file named A1.txt . Each line in the file will represent a row in the auditorium. The number of rows in the auditorium is unknown to you o There will be a newline character after each line in the file except for the last line which may or may not have a newline character The number of seats in each row of the auditorium will be the same No row will have more than 26 seats .Do not hold the auditorium in memory (-15 points if auditorium is held in memory) o Utilize random file access to view and modify the auditorium Empty seats are represented by a period (.) Reserved seats are represented by a letter (A, C or S) in the file . This will be used to create reports A -adult o C child o o o S-senior Reserved seats will be represented by a hashtag (#) on the screen Objectives Directly manipulate files using advanced file functions Utilize string and character functions to perform basic input validation Problem: In preparation for the release of Avengers 4 next summer, you have been hired by the owner of a very small movie theater to develop the backend for an online ticket reservation system. The program should display the current seating arrangement and allow the patron to select seats. A report should be generated at the end of the program to specify for each individual auditorium and overall for all auditoriums how many seats were sold/unsold and how much money was earned Pseudocode: Your pseudocode should describe the following items Main.cpp o List functions you plan to create " Determine the parameters "Determine the return type *Detail the step-by-step logic that the function will perform o Detail the step-by-step logic of the main function Details The seating arrangement for the auditorium will be stored in a file named A1.txt . Each line in the file will represent a row in the auditorium. The number of rows in the auditorium is unknown to you o There will be a newline character after each line in the file except for the last line which may or may not have a newline character The number of seats in each row of the auditorium will be the same No row will have more than 26 seats .Do not hold the auditorium in memory (-15 points if auditorium is held in memory) o Utilize random file access to view and modify the auditorium Empty seats are represented by a period (.) Reserved seats are represented by a letter (A, C or S) in the file . This will be used to create reports A -adult o C child o o o S-senior Reserved seats will be represented by a hashtag (#) on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
