Tree

Introduction of Tree Tree is also known as General Tree. Terminology Root: Nodes that have no parent is called Root Node. They are at the top position in the tree. Parent Node : Nodes that are represented at the tail of an arrow is called Parent Node. Child Node : Read more…

Loading

Queue

Introduction Like Linked list and Stack, Queue is also an Abstract data structure. Queue is normally created or used when things don’t have to be processed immediately. A queue is considered as an Ordered list. Definition A queue is another special kind of linear & non-contiguous data structure, where new Read more…

Loading

Stack Data Structure

Introduction of Stack Data Structure A stack data structure is an example of an Abstract Data Type (ADT), commonly used in most programming languages. A stack is a linear data structure that follows the Last In, First Out (LIFO) principle, meaning that the last element added to the stack is the first to Read more…

Loading

Control Statements in C++

Control Statements in C++ may broadly classified into – Introduction of Control Statements in C++ A Block/Compound Statement is a group of statements that are separated by semicolons (;)and are included/ grouped in a block enclosed in braces { }.For example: – { statement1; statement2; statement3; … } Definition of Control Read more…

Loading

Fundamental of OOPs

The fundamental of OOPs include – Definition of OOPs The term Object-Oriented Programming” (OOP) was coined by Alan Kay circa in 1966 or 1967 while he was at grad school. Ivan Sutherland’s seminal Sketchpad application was an early inspiration for OOP. It was created between 1961 and 1962 and published in his Sketchpad Read more…

Loading

Reference Books and Websites in C++

A list of popular Reference Books and Websites in C++ is described below Reference Books in C++ Slno. Name of Books Author Publications 01. The C++ Programming Language B. Stroustrup Pearson/Addison-wesley Publication,1997. 02. Mastering C++ K. R. Venu Gopal, Raj Kumar Buyya, T Ravishankar Tata-McGraw-Hill Publishing Company Limited, New Delhi. Read more…

Loading

C++ Terminology

List of Commonly used C++ Terminology mentioned below STL(Standard Template Library): STL (Standard Template Library) in C++ is a collection of powerful data structures and algorithms that can be used to solve a wide variety of programming problems. The STL is a part of the C++ Standard Library and provides Read more…

Loading

Difference Between in C++

List of Popular Difference between in C++ Difference Between C++ and Java SlNo C++ Java 1. C++ support Pointer, Goto statement, Structure & Unions, Multiple Inheritance, Operator Overloading, Header Files, Global Variables, Template class concept. Java does not support Pointer, Goto statement, Structure & Unions, Multiple Inheritance, Operator Overloading, Header Read more…

Loading

Templates in C++

Introduction In C++, templates are a powerful feature that allows for generic programming.  Definition Templates are a powerful feature in C++ that provides generality, type safety, compile-time polymorphism, efficiency, template specialization, and template metaprogramming. A template is a code construct that enables the definition of a parameterized type or function Read more…

Loading