Hour 15. Arrays
In previous chapters, you declared a single int, char, or other object. You often want to declare a collection of objects, such as 20 ints or a litter of CATs. In this hour, you learn
What arrays are and how to declare them
What strings are and how to use character arrays to make them
The relationship between arrays and pointers
How to use pointer arithmetic with arrays
Get Sams Teach Yourself C++ in 24 Hours, Third Edition 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.