Abstract
In this chapter you’ll extend your knowledge of arrays by exploring how you use an array of characters to represent a string. You’ll frequently need to work with a text string as a single entity. C doesn’t provide a string data type. Instead, C uses an array of elements of type char to store a string. This chapter will show you how to create and work with variables that store strings and how the standard library functions greatly simplify string processing.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2013 Ivor Horton
About this chapter
Cite this chapter
Horton, I. (2013). Applications with Strings and Text. In: Beginning C. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4882-8_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4882-8_6
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4881-1
Online ISBN: 978-1-4302-4882-8
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books