STL Quiz
Name:
- Given the code in counter4.h,
explain in as much detail as what happens when the call to sort is made on
the second to last line of the program.
- Given the code in adder.cpp,
note what each #include line is needed for and predict the output of running
the program.
- Given the declaration of an iterator for the standard vector class in vec_iter.h,
fill in a plausible implementation (i..e, assuming vector did not already
have an iterator defined).
- Given the modified counter3.h
file, explain the reason for the compilation error given at the bottom of the file.