my github Address: Https://github.com/CNhoward/Accerlerated-C-plus-plus
10-0. Compile, execute, and test the programs in this chapter.
Ans: See GitHub.
10-1. Rewrite the student-grading program from§9.6/166 to generate letter grades.
Ans: See GitHub.
10-2. Rewrite the median
function from§8.1.1/140 So, we can call it with either a vector
or a built-in array. The function should allow containers of any arithmetic type.
Ans: See GitHub.
10-3. Write a test program to verify that the median
function operates correctly. Ensure that calling does the "the Order of the elements in the median
container.
Ans: See GitHub.
10-4. Write A class that implements a that list
holds string
s.
Ans: See GitHub. The implementation here also combines the requirements of 10-5.
10-5. Write a bidirectional iterator for your String_list
class.
Ans: See GitHub.
10-6. Test the class by rewriting the split
function to put it output into a String_list
.
Ans: See GitHub.
Accelerated C + +: Programming practice with examples-practice answers (10th)