This tutorial series is going to assume that you have no programming experience prior to reading the series, but expects you to have basic knowledge about computers. An example would be knowing how to type on a keyboard and knowing how to find your way around your operating system. The programming examples, and all examples for that matter, are going to be done on and for the Windows operating system; more specifically, Windows 7. The programming concepts discussed should involve the same steps on a different operating system, but your environment setup may be different.
The history of C++ and some common knowledge about it will be covered in a later post, but for now we are going to focus on the setup of your programming environment. Something you will need is a compiler and an IDE. A compiler is what we will use to test our code and an IDE is the environment in which we will write our code. The IDE I prefer is Code::Blocks, which comes bundled with a compiler with it if you download the correct version. Download Code::Blocks and the compiler bundle here. (Make sure to download the Code::Blocks and mingw bundle.)
Remember when I said that you should have some basic computer knowledge? This includes knowing how to install software. Just install Code::Blocks like you would any other piece of software and you should be ready to go.
(If you need a closer view of these images, just click on them)
When you first start Code::Blocks you will be presented with a screen like this:
To Create a new project just follow along with the following images:
If you follow the images correctly, you should be presented with a screen similar to the final image shown. That is all for your C++ Tutorial 0! Feel free to move on to C++ Tutorial 1 when you feel ready.