Skip to main content

Chapter 13 Vectors

Up to this point, the only variables we have used were for individual values such as numbers or strings. In this chapter, you’ll learn how to store multiple values of the same type in a single variable. This language feature will enable you to write programs that manipulate larger amounts of data.

Note 13.0.1.

As with strings, the Codelens feature does not display vectors well. So it is of limited use when working with programs involving strings. Instead, use print statements or a debugger in some external environment.