Basics

This short introductory section gets us started with the basic structure of a C++ program, simple I/O, variables, declarations and expressions. The later are very similar to Java, though the C++ string differs a bit from Java's.

We also take a brief look at a C++ functions, mainly to highlight the difference in structure from Java. We will return to functions later.

Textbook: Chapter 2