Tutorials

Binary Decision Diagram Data Structure

Binary Decision Diagram Data Structure

A BDD (Bryant 1986) or branching program is a data structure that is used to represent a Boolean function. On a more abstract level, BDDs…

Trie Data Structure

A trie (Fredkin, 1960), also called digital tree and sometimes radix tree, is an ordered multi-way tree data structure that is used to store a…

A Complete Guide to using Double Pointer in C: Pointer-to-Pointer

A pointer can be declared to point to another pointer which points to a variable. Here, the first pointer contains the address of the second…

How to Read and Write Excel Files using C# and Excel Interop Library

This tutorial shows you how to Read and Write Excel files in C#. We are going to use Microsoft COM Objects i.e. Excel 16 object…

The Typedef and using Keywords in C and C++

The typedef or “type definition” is a keyword in C or C++ Programming language that allows declaring different names for types such as int or…

Difference between char[] and char* in C? Character Array and Pointer

Generally, the following two statements about char[] and char * in C are considered confusing and understanding the difference between them is important. The first…

What are #ifndef and #define Directives?

In the C Programming Language, the #ifndef directive checks if the given token has been #defined earlier in the C code. If the token has…

C++ Standard Template Library – List

The Standard Template Library (STL) is one of the most essential features of C++. It has very much grown in recent years. Basically, the Standard…

C++ Vectors – std::vector – Containers Library

Vectors are sequence container (same as dynamic arrays) which resizes itself automatically. The size changes (i.e. vector can shrink or expand as needed at run…

Ternary Operator with examples in C

In C Programming, ternary operator allows executing different code depending on the value of a condition. The returned value is the result of the expression…