When you need a collection or container with more flexibility than an Array provides, but also need to be memory efficient, then Linked Lists . Linked Lists are part of the STL in C++ as...
Category: Object Orientation
When you need a collection or container with more flexibility than an Array provides, the first data structure you'll usually go to is a Vector. Vectors are part of the STL in C+ as...
Although there are no classes in C you would want to have something like private variables in C. Encapsulation and hiding implementation details can be useful, so how can this be done in the...
Inheritance and Polymorphism are two important concepts of Object Oriented Programming (OOP). A procedural language like C does not support this concepts by nature. Is it possible to implement them...
When you first learn C you become aware that it is a so called procedural language. In contrast to object oriented languages there is no concept of a class and no such keyword in C. But is there a...
If you are new to programming or come from an object oriented language like Java or C# you may ask yourself if there are classes in C. It is a widely used language and still popular today despite its...