The C++ language provides a built-in mechanism, the modulus operator (mod or %), that computes the remainder that results from performing integer division.
This post contains lecture notes of "Introduction to C++" course which is taught at MIT OpenCourseWare. OCW is a free and open publication of material…
The goal of these columns is to explore object-orientation through practical object-oriented programming. This time, we look at C++, but in the future we will…
Google Code University website provides tutorials and sample course content so CS students and educators can learn more about current computing technologies and paradigms. In…
In Object Oriented Programming Inheritance is the process by which objects of one class acquire the properties and functionality of objects of another class. In…
The principle of inheritance is available with several modern programming languages and is handled slightly differently with each. C++ allows you to inherit all or…
Everyone knows that memory management is a difficult and dangerous chore in C++. This series of three articles will show you that the conventional wisdom…
Encapsulation is a fundamental concept in Object Oriented Programming (OOP) that involves bundling data (attributes) and methods (functions) into a single unit known as a…