C++ Templates

C++ templates: The c++ template can be defined as a blueprint or formula for creating a generic class or a function. Templates are the foundation of generic programming, which involves writing …

Read moreC++ Templates

C++ Abstraction

C++ Abstraction: Abstraction shows important things to the user and hides internal details. And hiding of data is known as “data abstraction“. Data abstraction can be used to provide security for …

Read moreC++ Abstraction

C++ Polymorphism

C++ Polymorphism: Polymorphism is derived from the Greek words. Poly means “many” and “morphism” means “forms” i.e many forms. Polymorphism means more than one form. The operation depends upon the types …

Read moreC++ Polymorphism

C++ Inheritance

C++ Inheritance: Inheritance is the process in which the objects of one class can acquire the properties of another class. And also it supports the concept of hierarchical classification. And …

Read moreC++ Inheritance

C++ Strings

The C++ strings are nothing but used for representing a sequence of characters as an object. String class stores the characters as a sequence of bytes. A string is described …

Read moreC++ Strings

C++ Arrays

The C++ arrays can be defined as a collection of items located stored at contiguous memory locations. Here, contiguous memory location means just after the first element of an array, …

Read moreC++ Arrays

C++ Functions

C++ Functions: The C++ functions can be defined as a group of statements that perform a particular task. And in every C++ program, there will be at least one function called …

Read moreC++ Functions

C++ Loops

C++ Loops: In C++ loops are used when you need to execute a block of code several times. In loops, a statement will be executed once and the loop will be …

Read moreC++ Loops

C++ Keywords

C++ Keywords: Keywords in C++ are nothing but a reserved words in C++ Library. We cannot use them as a variable names, constant names etc. C++ Keywords List List of …

Read moreC++ Keywords

C++ Tokens

C++ Tokens: Tokens in C++ can be defined as the smallest building block (or) the smallest unit in C++ program. Each word and punctuation can be referred to as a …

Read moreC++ Tokens

C++ Manipulators

C++ Manipulators: C++ Manipulators are nothing but functions that are designed to be used in the conjunction with the insertion(<<) and extraction(>>) operators on stream objects. C++ Manipulators Let us …

Read moreC++ Manipulators

Comments in C++

Comments in C++: Like all other programming languages we can also represent in C++. Comments are nothing but the explanatory statements that you can include in the code. Single Line Comments: …

Read moreComments in C++

C++ Features

C++ Features: In this, we are going to learn the features of C++ i.e. the main features which make C++ more powerful than other languages. Features of C++ There are …

Read moreC++ Features

C++ Introduction

C++ Introduction: In this C++ introduction, we are going to have a brief idea regarding this language. C++ was originally developed by “ Bjarne Stroustrup” in 1980 at “bell laboratories” …

Read moreC++ Introduction