Home Segments Index Top Previous Next

Chapter 42:

How To Deposit Character Strings into Class Objects

In the previous two chapters, you learned how to obtain character strings from a file, how to extract characters from character strings, and how to test characters. In this chapter, you learn how to move a character string from a temporary buffer to a permanent location inside a class object using functions provided by C++'s string-handling library.