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.
Author information
Authors and Affiliations
Rights 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)