Learning C++: Using Arrays

Mike McMillan
Level Up Coding
Published in
5 min readAug 17, 2020

--

Photo by Zbynek Burival on Unsplash

The array is the most common data structure in computer science because it is part of every programming language, even though in some languages it may be called something else, such as a list. In this article I’m going to discuss how to create and use arrays in C++. I am going to limit my discussion to single dimension arrays and I will cover multi-dimensional arrays in a future article.

Arrays Defined

--

--

Mike McMillan writes about computer programming and running. See more of his writing and courses at https://mmcmillan.gumroad.com.