Help with my C++-project

Description

I need some help with my C++-code-project. The code is almost ready but I need help with the last parts and some checkups if the instructions havebeen followed. I need the ready code with the changes. Check the special requirements of this task, they must be followed. I am not sure about if I have the map-structure or struct-structure.

Don't use plagiarized sources. Get Your Custom Assignment on
Help with my C++-project
From as Little as $13/Page

Unformatted Attachment Preview

“courses – The command prints all courses from the specified location in
alphabetical order according to the course name, which are found in that location and from the
specified theme, along with the number of participants. For example:
Or if the course is full, the printout looks like this:
The above example also shows that a parameter consisting of multiple words must be enclosed in
quotation marks. Only the theme is such a parameter that can consist of multiple words. (The
course name can also consist of multiple words, but it is not used as a parameter for any
command.)
Even if the theme does not consist of multiple words, it can still be enclosed in quotation marks.
For example:
available – The command prints on the screen all courses from all locations that are still open for
enrollment, i.e., which are not full. The courses are printed with the location, theme, and name.
The list of courses is sorted alphabetically first by location, then by theme, and finally by course
name.
An example best clarifies this:
courses_in_theme – The command prints courses from all locations related to the given
theme in alphabetical order. For example:
favorite_theme The command prints the most popular theme. The participant numbers for each
theme are summed up, and this highest number of participants and the theme (or themes) with
the highest number of participants are printed. For example:
In the command, it is assumed that if a course is full, it has 50 participants.
Let’s look at another example in case the highest number of participants is on multiple themes. If
the content of the input file was:
The command must print
If the input file is not empty, then some theme is the most popular. In the case of an empty file,
the command prints:
Once the user’s command has been executed, the program prints the prompt again. This continues
until the user enters the command quit.
Error Situations
If the user’s input is incorrect, an error message related to the error is printed, after which the
program returns to waiting for the user’s input. Thus, the program’s execution does not end on the
user’s incorrect input.
If the user enters an unknown command, an error message is printed:
If the command is given the wrong number of parameters, an error message Error: error in
command is printed as below:
It is possible to give a location to the command themes_in_location that is not found. In this case,
an error message is printed to the user:
It is possible to give a theme to the command courses_in_theme that is not found. In this case, an
error message is printed to the user:
The command courses involves two separate error messages. If the location entered by the user is
not found, an error message Error: unknown location name is printed, and if the given theme is
not found, an error message Error: unknown theme is printed as below:
If both location and theme are unknown, a notification of the unknown location is given, as shown
in the last part of the above example.
Special Requirements
The following requirements must be followed!!
The input file can only be read once during the execution of the program.
Whatever combination of STL data structure(s) you choose for your work, you must use at least
one map structure. This map structure must be part of the structure into which information read
from the file is stored for later searches.
When storing information about courses read from the file into your STL structure, you must use
the following struct structure for storing them:
This struct structure must therefore be the element type of the STL structure into which
information about courses is stored.

Purchase answer to see full
attachment