// Bjarne Stroustrup 7/25/2009 // Chapter 4 Exercise 19 #include "std_lib_facilities.h" // note that different compilers/SDEs keep header files in different places // so that you may have to use "../std_lib_facilities.h" or "../../std_lib_facilities.h" // the ../ notation means "look one directly/folder up from the current directory/folder" /* enter name-and-value pairs into a pair of vectors check that each name is unique exit when we see the input "NoName 0" output the pairs */ int main() try { vector names; vector scores; string n; int v; while (cin>>n>>v && n!="NoName") { // read string int pair for (int i=0; i