Declaring an array
To get started, let’s consider what an array is and see how we can declare this in our code. The following video goes explains arrays, and gets you started with the code for this.
Here is the starter code that you can use to work along with this. You may want to use your utilities code that you created earlier, in which case you can remove the read_string
and read_integer
code and instead access these from your header file.
Work through the video and have a go at creating an array to store three names.