Pages

Friday, 20 January 2023

Chapter 26 // Drill 1 - Principles & Practice Using C++

In this exercise I'm using Visual Studio 2019 and a modified version of the std_lib_facilities header found here.

Chapter 26 // Drill 1

Get the test of binary_search to run:
Implement the input operator for Test from section 26.3.2.2

This didn't take too long. I love stringstreams and I'm so glad someone on the C++ committee added them to the standard.

No comments:

Post a Comment