Skip to main content
Book cover

Beginning C pp 203–239Cite as

Applications with Strings and Text

  • Chapter
  • 7362 Accesses

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   84.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints 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

Publish with us

Policies and ethics