Objectives of This Chapter
By the end of this chapter, you should
Understand how to implement all the concrete data type functions for a class that uses pointers, namely our homegrown string class.
Understand in detail the operation and structure of a string class that is useful in some real programming situations.
Understand how to write appropriate input and output functions (operator >> and operator <<) for the objects of our string class.
Understand how to use some additional C library functions such as memcmp and memset.
Understand the (dreaded) C data type, the array, and some of the reasons why it is hazardous to use.
Understand the friend declaration, which allows access to private members by selected nonmember functions.
Why We Need a Reference ...
Get C++: A Dialog Programming with the C++ Standard Library now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.