This C++ example shows you how to store a set of numbers into vectors and loop through the values in order to get the average of those numbers.
Reverse a linked list
This code shows the logic behind reversing a linked list in C++ using pointers and looping through the current nodes, changing the order in which the elements are linked to eachother.
Fatal error C1083: Cannot open include file: ‘iostream.h’: No such file or directory when trying to compile your C / C++ code
This is a common mistake among C programmers who start coding in a new environment with a new compiler such as .NET 1.1 or .NET 2.0. You get the error because the iostream.h file is no longer used with these compilers, instead use the ISO compliant file iostream: #include <iostream>;
Introduction to Object Oriented Programming
For those wishing to delve into the world of OOP using C++. You should have a little bit of programming experience to get the most from this tutorial.
Understanding C++ data types I
A small book for those beginners in C++ or even in programming who didn’t understand C++ data types. This is meant to be a patch to other books, that cover the basics of C++. Data types can be a little tricky sometimes, and difficult to understand, this book explains how data types work, and also shows you how to use them by giving examples.
The Binary Adding Machine
Ever wondered how computers work? In this tutorial, I attempt to explain this from the ground up. First, we’ll look at how a machine can add numbers.
Inline functions
Explains the need of inline functions, when to / not to use them and how to use them.
Introduction to C/C++ Part 3
A newbie-friendly beginner tutorial with good and descriptive explanation of C/C++ syntax.
Basics of function templates
This tutorial covers the basics of using function templates in C++. It shows you how to create them and explains how they work.
Constants
There are two main ways of defining constants in C++, and we’ll review and compare both of them, seing their advantages and disadvantages.