Anonymous
public text v1 · immutable#include "mapproc.h"
#include <iostream>
void main()
{
map<int,string> mapAll;
map<int,string>::iterator itr = mapAll.begin();
map<string,int> mapStaff;
map<string,int> mapStudents;
ReadInputFile(mapAll, "NameList.txt");
OutputNumerically(mapAll, "IdList.txt");
SplitIntoStaffAndStudents(mapStaff,mapStudents,mapAll);
OutputAlphabetically(mapAll, "AlphabeticList.txt");
// do the rest of the stuff
}