![]() |
associative container data structure in c++
Hi,
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 a 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 student’s data into the system, The program will allow duplicate names to be inserted. b. Find a student’s data, given the student’s name(key). If there are multiple students in the container with the given name, display information about all of them. c.. Exit the system 1. should have a source (.h and .cpp) files please help thanks |
Re: associative container data structure in c++
how i stated:
Code:
#include <iostream> |
Re: associative container data structure in c++
OK, what do you need help with? You've written some fairly advanced stuff there with friends and operators and so on, so the whole task should be straight forward for you.
|
| All times are GMT +5.5. The time now is 14:43. |