Chapter 33 Tips and Tricks with Data Structures
33.1 Introduction
Since arrays are handled with the same sequence, decision, and loop control structures that you learned about in previous chapters, there is no need to repeat all of that information here. However, what you will discover in this chapter is how to process each row or column of a two-dimensional array individually, how to solve problems that require the use of more than one array, how to create a two-dimensional array from a one-dimensional array (and vice versa), and some useful built-in array functions that C++ supports.
33.2 Processing Each Row Individually
Processing each row individually means that every row is processed separately and the result of each row (which can be the ...
Get C++ and Algorithmic Thinking for the Complete Beginner 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.