This lecture discusses why we have focused on Java rather than C++ in this
module. It compares C++ with C and looks at how C++ does I/O differently
iostreams library. It compares C++ string handling with that of
Java and contrasts it with the lower-level approach adopted in C.
The lecture also looks at
vector as an example of a C++ container,
comparing it with
ArrayList in Java. Some examples of using the algorithms
library to manipulate containers are presented. The lecture concludes with
a look at the role of references in the language.