O'Reilly logo

C++ for the Impatient by Brian Overland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

Image C-strings and functions that manipulate them

Individual-character functions ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required