# C++ Programming

## How to Implement Fibonacci Number Algorithm using C++ Example

Fibonacci was an Italian mathematician who introduced this subject to European mathematics, but the similar array was mentioned even before his time. There are two definitions of Fibonacci numbers with slight variation. Both are pretty similar but little different at the same time. First: 0, 1, 1, 2, 3, 5, 8, … Second: 1, 1, [...]

## STL Tutorial: How to use C++ Vector with Example Program

Vector is an important part of a STL (Standard Template Library). On a very high-level, STL library has lot of containers that are often used, and it has few methods that could be applied on those containers. Basically STL has several ready-to-use common classes that you can use in your C++ programming. We’ll cover STL [...]

## C++ Template Functions Explained with an Example Program

Let us assume that we are in the situation where we need to create a function that calculates the absolute value of a number. When you have a number that is positive, then absolute value of the number is that same number, but if the number is negative, then the absolute value of the number [...]

## C++ Binary Exercise with Example Code to Develop Your Algorithm Skills

Once you understand the basics of C++ programming language, it is essential for you to develop your problem solving skills using C++ program. In other words, you should know how to develop your programming logic to solve a given problem. In this tutorial, we’ll give a simple binary problem, which you should solve by writing [...]

## Top 10 Mistakes Not to Make in a Programming Interview

If you are a programmer, you already know that when you apply for a programming job, the interview process is little different than any other technical job interviews. In this article we will discuss 10 mistakes that you should avoid in a programming interview. 1. No Practice for Writing Code on Paper or Whiteboard This [...]

Operator overloading is one of the advanced concepts of C++.  It is a feature through which most of the standard operators can be used with class objects. When you use an expression like ‘2 +3’, you know that the answer will be the sum of two integers. This is because the compiler knows how to [...]