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.
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 interpret the + operator when used with integers. But, what if you want to do something like ‘obj1 = obj2 + obj3′ (where all these are objects of same class) ? How + operator should work in this case?
The answer is through Operator Overloading.
In this tutorial, we will explain operator overloading with the help of a working example.
Inheritance is the property by which a class can inherit data members and functions of another class.
In this case, the class which is inherited is known as base class while the class which inherits is known as derived or child class.
In this tutorial let us study the concept of inheritance in C++ programming with an example program.
In C++, base class and derived class is a popular example of a concept that mirrors real life hierarchy.
Apart from that there are several small but really useful concepts that are specially designed to keep the code simple and make life easier for a C++ programmer.
One such concept is C++ virtual functions.
In this tutorial, we will understand virtual functions concept in detail through C++ code examples.
The concept of references in C++ is simple, interesting and useful to programmers.
It adds value to C++ when compared with C. Though the debate between the followers of C and C++ will always be there but I personally think that both the languages have little overlapping area of usage.
When compared to C, C++ has some very unique features that come in very handy. For example, the concept of references. In this tutorial, we will discuss the reference concept through some practical examples.
Constructors and destructors are fundamental to the concept of classes in C++. Both constructor and destructor are more or less like normal functions (but with some differences) that are provided to enhance the capabilities of a class.
Constructor, as the name suggests is used to allocate memory (if required) and construct the objects of a class while destructor is used to do the required clean-up when a class object is destroyed. In this article, we will study the concept of constructors and destructors through working examples.
Classes and objects are fundamental concepts of object oriented languages. To learn an object oriented language such as C++, you should have a sound knowledge of classes and objects.
This tutorial explains concept of object and classes using an hello world example program.
This is the 1st article in our on-going new series on C++ programming.
There are times when it is required to mix the C and C++ code together. For example, while using a legacy C code or while using a specific C library the provides your C++ code with some specific functionality. So, some special steps are to be taken care of when using C code in C++ file or vice versa.