Chapter 10. C-String Library Functions
C++ provides two formats for text strings. One is the old C-string type from the C language, supported for backward compatibility; the other is the Standard Template Library (STL) string class, which is safer, more convenient, and easier to use. (See Chapter 14, “The C++ STL String Class.”)
This chapter presents the C-string library functions, because sometimes it is necessary to support old code. Moreover, the individual-character functions, also presented in this chapter, are useful with all kinds of strings.
This chapter covers
C-strings and functions that manipulate them
Individual-character functions ...
Get C++ for the Impatient 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.