In this chapter, we will explore the basics of writing a C++ program. Here, we will cover just enough to wrap our heads around the capabilities of the C++ programming language. This will be required to understand the code used in this book.
To run the examples, use Visual Studio 2017. You can download the community version for free at https://visualstudio.microsoft.com/vs/:
The topics covered in this chapter are as follows:
- Program basics
- Variables
- Operators
- Statements
- Iteration
- Functions
- Arrays and pointers
- Struct and Enum
- Classes and inheritance