October 2019
Beginner
655 pages
12h 5m
English
Till now what we’ve covered has been essentially C with a few tweaks, notably cin and cout. Now it’s time to add the thing that puts the + in C++: classes.
We could have done that with a struct. As with structs, we can declare variables of this type, pass them as parameters, get at the parts with “ . ”, and so on – it looks much the same. But we’re about ...