Skip to main content

Strings in Depth

  • Chapter
  • First Online:
Moving from C to C++
  • 3607 Accesses

Abstract

String processing with character arrays is one of the biggest time–wasters in C. Character arrays require the programmer to keep track of the difference between static quoted strings and arrays created on the stack and the heap, and the fact that sometimes you’re passing around a char* and sometimes you must copy the whole array.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Arunesh Goyal

About this chapter

Cite this chapter

Goyal, A. (2013). Strings in Depth. In: Moving from C to C++. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6095-0_18

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-6095-0_18

  • Published:

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-4302-6094-3

  • Online ISBN: 978-1-4302-6095-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics