Abstract
In the last chapter you were introduced to arrays and you saw how using arrays of numerical values could make many programming tasks much easier. In this chapter you’ll extend your knowledge of arrays by exploring how you can use arrays of characters. You’ll frequently have a need to work with a text string as a single entity. As you’ll see, C doesn’t provide you with a string data type as some other languages do. Instead, C uses an array of elements of type char to store a string.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 Ivor Horton
About this chapter
Cite this chapter
(2006). Applications with Strings and Text. In: Beginning C. Apress. https://doi.org/10.1007/978-1-4302-0243-1_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0243-1_6
Publisher Name: Apress
Print ISBN: 978-1-59059-735-4
Online ISBN: 978-1-4302-0243-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books