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

Exception Handling in C++

Introduction Exception handling is an important & powerful tool for developing robust and reliable software in C++, as it provides a way to handle errors and unexpected situations in a controlled and consistent manner. Definition Exception handling is a mechanism in C++ that allows a program to handle unexpected or Read more…

Loading

Polymorphism in C++

Introduction of Polymorphism in C++ Polymorphism in C++ is one of the most important features of object-oriented programming. It simply means “one name multiple forms‟. The word polymorphism consists of two Greek words – ‘poly’ means many/several and ‘morphs’ means form/structure, which signifies the many uses of these operators and Read more…

Loading

Operator Overloading in C++

Introduction Operator overloading in C++ also forms the basis of C++’s approach to I/O. When an operator is overloaded, none of its original meanings/qualities are lost. After overloading the appropriate operators, we can use objects in expressions in just the same way that we use C++’s built-in data types. Not Read more…

Loading