Stack is an abstract data type that allows you to input and output data in a way that the first data which was placed in the stack will be the last one to get out. We use physical examples of stack in our daily lives such as the stack of …
Father of C, Dennis Ritchie, passed away.
Dennis Ritchie, also known as “dmr”, a renowned computer scientist, after a long illness passed away last weekend at the age of 70. He is best known, as the creator of C language and played a vital role in the development of UNIX operating system. C Language is one of …
3. Classes in depth
When working with the object oriented paradigms, classes are the most commonly used tools. So here we are to make you understand the simple but the most important concept. This post mainly discusses the concept of encapsulation, where we shall first see what are classes and objects and then relate …
2. Some Basic Concepts
There are three main concepts one should know if working with the object oriented paradigm, namely encapsulation, inheritance and polymorphism. Encapsulation Encapsulation is one of the very basic concepts of object oriented programming, the process of binding data and functions that manipulate data together is known as encapsulation. The functions …
1. Introduction to Object Oriented Programming
Introduction to object oriented programming This tutorial series is aimed to teach you the concepts of object oriented programming (OOP). We will use C++ as our tool to learn this programming paradigm. There are many modern programming languages now support OOP at least as an option. It is assumed that …
11. More On Arrays
In the previous post we introduced arrays to you; and learned that arrays make our tasks a lot easier when we are dealing with a number of records. Arrays are not just that, there is a lot more on this topic as we shall see here; how to deal with …
9. Introduction to Pointers
We learned about variables that they are used as identifiers to memory locations so that we need not to remember the difficult memory addresses, but is there a way to store those memory addresses in case we need them? Yes! Pointers are a powerful feature of C language which gives …
8. Code Re usability, Introduction to functions
Code reusability has always been an interesting topic, reusing code to avoid repetition is a very good technique used by programmers to increase the readability of code. Re usability reduces, the implementation time as well as the number of bugs in your code; causing the testing phase of your application …
7. The looping construct
Loops are vital part of programming techniques, many people at first don’t understand the sole purpose of looping, and teachers must give solid examples and proper applications of loops to make beginners understand the real power of loops. Here we will discuss and develop a program which will demonstrate how …
6. The Decision Control Structure
When you develop a computer program decisions have to be made on the input given by the user. For example you are developing a computer game so definitely you have to determine what happens when user presses the right or left arrow keys or what happens when one presses a …
Recent Comments