Hi, I would like to get some help with this program
I am trying to implement a student grading system.
-Use an Associative container, multimap.
-Search record by Student name (the key) and the data consists of student ID and GPA.
Since more than one student can have the same name, use
multimap.
progam does the following:
1. It will use a multimap as the container.
2. It will use the Student class to describe the
ID and GPA. multimap will be declared:
multimap<string, Student> grades;
3. use data(names, IDs and GPAs)
4. The main() driver will display a menu of commands available to
the user: The commands are:
a. insert a students data into the system, The program will
allow duplicate names to be inserted.
b. Find a students data, given the students name(key). If
there are multiple students in the container with the given
name, display information about all of them.
c.. Exit the system
d. it should have files (.h and .cpp)
I am trying to implement a student grading system.
-Use an Associative container, multimap.
-Search record by Student name (the key) and the data consists of student ID and GPA.
Since more than one student can have the same name, use
multimap.
progam does the following:
1. It will use a multimap as the container.
2. It will use the Student class to describe the
ID and GPA. multimap will be declared:
multimap<string, Student> grades;
3. use data(names, IDs and GPAs)
4. The main() driver will display a menu of commands available to
the user: The commands are:
a. insert a students data into the system, The program will
allow duplicate names to be inserted.
b. Find a students data, given the students name(key). If
there are multiple students in the container with the given
name, display information about all of them.
c.. Exit the system
d. it should have files (.h and .cpp)