Chapter 4

Arrays, Strings, and Pointers

WHAT YOU WILL LEARN IN THIS CHAPTER:

  • How to use arrays
  • How to declare and initialize arrays of different types
  • How to use the range-based for loop with an array
  • How to declare and use multidimensional arrays
  • How to use pointers
  • How to declare and initialize pointers of different types
  • The relationship between arrays and pointers
  • How to declare references and some initial ideas on their uses

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

You can find the wrox.com code downloads for this chapter on the Download Code tab at www.wrox.com/remtitle.cgi?isbn=9781118368084. The code is in the Chapter 4 download and individually named according to the names throughout the chapter.

Get Ivor Horton's Beginning Visual C++ 2012 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.