The course is part of this learning path
This course explores arrays and vectors which are types of data structures in C++. We'll focus on built-in arrays, which C++ inherits from the C programming language, and a couple of sequence containers including the array template class and the vector template class, which are part of the standard template library or STL.
Intended Audience
- Beginner coders, new to C++
- Developers looking to upskill by adding C++ to their CV
- College students and anyone studying C++
Prerequisites
To get the most out of this course, you should have a basic understanding of the fundamentals of C++.
In this section, we're going to take our first look at a special class of objects called Data Structures, which are containers that can hold more than one element. In C++, the most fundamental of these data structures is the array. We have two types of arrays that we will be looking at. First, the built-in in array, also called C-style arrays because they exist in the C programming language, which is C++'s predecessor. We will also look at the array class which is a type provided only in C++. We will also look at the vector class as well, which allows us to create containers that resize as necessary to accommodate more data. We won't go in depth into classes and Object-Oriented Programming in this section, but using these classes will help us learn more about how objects work. I'm looking forward to all the new skills and knowledge we're going to pick up in this section, starting in the next lecture where we begin our discussion with built-in arrays. We have some really cool projects at the end too that use the array and vector classes, and also a technique called parallel vectors, which is used in a lot of industry programming. Let's get going!
John has a Ph.D. in Computer Science and is a professional software engineer and consultant, as well as a computer science university professor and department chair.