C++ Tutorial for noobs - Part 0: Introduction
Foreword
C++ was one of the most influential languages during the last two decades. If you ever heard about computer programming, you probably heard about C++ too.
There are two major points about C++ that make it hard to learn:
- It's complex (as in: there are a lot of complicated language features)
- It has weird pointer stuff (as in: being able to directly do stuff to the computer memory)
This tutorial series will explain C++ so that a five-year old could understand it.
The First Lesson
Did you notice that it says 'Part 0' in the title? It's weird because most people start to count at the number '1', which is not how we do things in C++. For example, if we have a list of animals like this one:
- Dog
- Cat
- Zebra
We would number them like this:
- 0: Dog
- 1: Cat
- 2: Zebra
Which means that the first animal is on position 0 in our animal list. There really is no magic to it, it's just a new way of thinking.