A Simple String Matching Algorithm

Written by Raza. Posted in C++

string matching algorithm

Human Beings like to play with string in their daily life. We deal with all sorts of alphabets and words and often try to compare them with one another. To check whether we have two given set of characters equal or not, we make use of string matching algorithms. To match the two given strings, we use then to look for equality in both the strings for the desired results. A simple string matching algorithm is to iterate over each alphabet and match correspondingly. Let us see in detail how we do that. 

Concept of Friendship in C++

Written by Hamza. Posted in C++

friendship in C++

Our progress in this series of articles on object oriented programming in C++ has been deliberately slow so that readers would have time to grasp the basics of classes and their objects before moving on to their practical usage. Let us pick up the pace a little bit. We will now move to the concept of friendship in c++. From here we can go on to more advanced concepts like inheritance and polymorphism.

Operator overloading in classes in C++

Written by Hamza. Posted in C++

operator overloading

After a lengthy break, i’m back with my series on object oriented programming in C++ made easy for beginners. As you may recall, I had started this series as a sort of  a basic guide for programmers who were just delving into the basics of OOP in C++. I hope by now all of you understand the basic concepts behind classes and how they are used. All of that prior knowledge will be required, as today I am going to be talking about the concept of operator overloading in classes in C++.

Linked Lists using classes

Written by Ali. Posted in C++

Linked Lists using Classes

Hello everyone and we’re back again with yet another post on Linked Lists series. This time, we introduce to you a much wider concept of linked lists that is more feasible and easy to implement; implementation of Linked Lists using classes.

Enumeration Types and enum in C++

Written by Ali. Posted in C++

enum in c++

Enumeration in C is a convenience feature added to make coding easy. By use of enumeration, or more appropriately enum, a lot of hassle is simplified and code can be made easier to understand. Enum is a user-defined type used to store set of named constants called as enumerators. enum is a reserved keyword in C .