You have learned to structure programs by using functions and to structure data by using arrays and containers. Functions, arrays, containers, and program input/output were all that FORTRAN and BASIC gave programmers. Modern languages, including C++, give you the ability to group different kinds of data together and create dynamic references.
In this chapter you will learn
How to declare and use C++ structs
Why C++ structs are a superior way to organize data
How to manipulate data via pointers
3.21.46.78