C++
C++ is a middle-level programming language. It was developed by Bjarne Stroustrup at Bell Labs circa 1980.C++ runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. C++ is a general-purpose coding language that has been used for game programming, software engineering, data structures, developing browsers, operating systems.
Structure vs Union
By Jaskirat Singh Saggu
● Published At Feb 2022
This will cover what are structures and unions, how can we declare them, and what are the similarities and differences between them.... Keep reading ..
Basics
C++ is a general-purpose programming language and is widely used nowadays for competitive programming. It has imperative, object-oriented, and generic programming features. However to become proficient in any programming language, one firstly needs to understand the basics of that language. Let's start learning C++.
Introduction To C++
By Jaskirat Singh Saggu
● Published At Jan 2022
This blog will cover the Introduction to C++, Why we should learn C++, the features and the applications of C++, and creating our first C++ program. ... Keep reading ..
How to Download and Install C++ IDE on Windows
By Vidhi Singh
● Published At Jun 2022
This article guides on how to download and install C++ IDEs on Windows. ... Keep reading ..
How to setup environment for C++ Programming on Mac
By Amarjeet Kumar
● Published At Jun 2022
This article will help you set up the environment for c++ programming on mac.... Keep reading ..
How to install the C++ compiler on Ubuntu
By Naman Kukreja
● Published At Jun 2022
In this blog, we will learn about compilers and how to install the C++ compiler in Ubuntu with step-by-step explanations followed by running a sample file.... Keep reading ..
Difference between C and C++
By RAJESH RUNIWAL
● Published At Feb 2022
This article discusses the difference between C and C++.... Keep reading ..
What is Namespace?
By Shivam Verma
● Published At Feb 2022
In this blog, we will learn about the namespace, and its features, working, and advantages.... Keep reading ..
Input/Output Streams
By Vivek Goswami
● Published At Jan 2022
In this blog, we will learn about performing input and output operations and their working.... Keep reading ..
Variables
By Shivam Verma
● Published At Feb 2022
In this blog, we will learn about the variables and their types.... Keep reading ..
Constants/Literals
By RAJESH RUNIWAL
● Published At Jan 2022
This article discusses Constants/Literals.... Keep reading ..
Local and Global Variables
By Vivek Goswami
● Published At Jan 2022
In this blog, we will learn about local variables and global variables in C++.... Keep reading ..
Data Types in C++
By Jaskirat Singh Saggu
● Published At Jan 2022
This blog is about what data types are, why we need them, and what all data types are available in C++ and their uses. ... Keep reading ..
Identifiers
By Nishant Rana
● Published At Jan 2022
This blog will cover the Identifiers in the Programming Languages.... Keep reading ..
Type Casting
By Jaskirat Singh Saggu
● Published At Feb 2022
This blog will cover what type casting is, and what are the different types of type casting methods available in C++. ... Keep reading ..
Compilers for C++
By Sandeep kamila
● Published At Mar 2022
This blog will cover the most popular compilers for C++, their features and their differences.... Keep reading ..
malloc() vs new
By Sacksham Sharma
● Published At Apr 2022
This article will discuss the characteristics between malloc and new, used for dynamic memory allocation.... Keep reading ..
Programs that Compile in C but not C++
By Vidhi Singh
● Published At Mar 2022
This article extensively discusses the programs that compile in C but not C++, features that lead to such cases, and their corrections... Keep reading ..
Literals in C and C++
By Manan Singhal
● Published At Apr 2022
This blog discusses the types of Literals in C and C++.... Keep reading ..
Control Statements
We’ll learn about control statements which help you to control movements of data and also help you to make decisions based on the conditions. The normal flow of execution in a high-level language is sequential, i.e., each statement is executed in the order of its appearance in the program. However, depending on the requirements of a problem it might be required to alter the normal sequence of execution in a program. The statements which specify the order of execution of statements are called control flow statements. There are many control flow statements provided in C++ like Conditional statements, Iteration statements, and Jump Statements
Conditional Statements
By Jaskirat Singh Saggu
● Published At Feb 2022
This blog will cover what conditional statements are, what all conditional statements are in C++, and their uses. ... Keep reading ..
Iteration Statements in C++
By RAJESH RUNIWAL
● Published At Feb 2022
This article discusses Iteration statements. We are going to look in detail what exit and entry controlled loops are and also going to look at the implementation in C++.... Keep reading ..
Jump Statements
By RAJESH RUNIWAL
● Published At Feb 2022
This article discusses Jump Statements.... Keep reading ..
Operators
Operators are nothing but symbols that tell the compiler to perform some specific operations. We’ll study different types of operators like Arithmetic Operators, Relational Operators, Logical Operators, Bitwise Operators, Assignment Operators, Unary operators, and Ternary or Conditional Operators.
Introduction
By Jaskirat Singh Saggu
● Published At Jan 2022
In this blog, we will learn about operators, their uses, and what are the different types of operators in C++ with examples. ... Keep reading ..
Scope resolution operator vs this pointer
By Teesha Goyal
● Published At Apr 2022
In this article, we will discuss the difference between scope resolution and this pointer in C++.... Keep reading ..
New and Delete operator in C++
By Sacksham Sharma
● Published At Mar 2022
In this article, we have extensively discussed new and delete operators in c++ with code examples and dynamic memory allocation using these operators. ... Keep reading ..
Functions
Function is a block of code that performs a specific task. If some functionality is performed at multiple places in software, then rather than writing the same code, again and again, we create a function and call it everywhere. This helps reduce code redundancy.
Introduction to Functions
By RAJESH RUNIWAL
● Published At Jan 2022
This article discusses Introduction to Functions.... Keep reading ..
Function Parameters in C++
By Rhythm Jain
● Published At Feb 2022
Today, we will learn about the Function Parameters in C++ and their types and working.... Keep reading ..
Function overloading
By Shivam Verma
● Published At Feb 2022
In this blog, we learn about function overloading.... Keep reading ..
Call by value and Call by reference
By RAJESH RUNIWAL
● Published At Feb 2022
This article discusses Call by value and Call by reference.... Keep reading ..
Recursion
By RAJESH RUNIWAL
● Published At Feb 2022
This article discusses Recursion.... Keep reading ..
Inline functions
By Urwashi Priya
● Published At Mar 2022
This article will brief you on the topic of inline functions in c++.... Keep reading ..
Return multiple values from a function in C++
By Anant Dhakad
● Published At Apr 2022
In this blog, we will learn about different methods of returning multiple values from a function in C++.... Keep reading ..
Swap() in C++
By Nishant Rana
● Published At Jun 2022
This article will deal with the topic of Swap() in C++ and explain how it works with an example.... Keep reading ..
Storage class
By RAJESH RUNIWAL
● Published At Mar 2022
This article discusses the Storage class.... Keep reading ..
isinf() function in C++
By APURV RATHORE
● Published At Jun 2022
In this blog, we will learn about the isinf function in C++ and explain it with examples.... Keep reading ..
quick_exit() function in C++
By ABHINAV KUMAR
● Published At Jun 2022
This article discusses the details of the quick_exit() function with its properties and usage.... Keep reading ..
Pointers
Pointers are variables that store the address of other variables. Every variable is stored in the memory and each memory location has its own memory address. It enables us to pass variables by reference.
Introduction to pointers
By Shivam Verma
● Published At Feb 2022
In this blog, we learn about pointers.... Keep reading ..
Array of pointers
By RAJESH RUNIWAL
● Published At Mar 2022
This article discusses an array of pointers.... Keep reading ..
NaN in C++
By Tashmit
● Published At Mar 2022
This article aims to describe NaN in C++.... Keep reading ..
Reference in C++
By RAJESH RUNIWAL
● Published At Mar 2022
This article discusses Reference, reference vs. pointers.... Keep reading ..
Difference between Pointers and References
By Sacksham Sharma
● Published At Apr 2022
This article will discuss the characteristics of the concept between pointers and references.... Keep reading ..
Array
Array is a data structure used to store blocks of information in contiguous memory allocation. The data can be integer strings characters class objects etc.
Introduction to Array
By Shivam Verma
● Published At Jan 2022
In this blog, we will learn what an array is and look at how to define an array in C++ followed by its advantages and disadvantages.... Keep reading ..
Single-Dimensional Arrays
By Vivek Goswami
● Published At Jan 2022
In this blog, we’ll learn about Single dimensional arrays, their declarations, functionality, and uses.... Keep reading ..
Multi-Dimensional Arrays
By Vivek Goswami
● Published At Feb 2022
In this blog, we will learn about Multi-dimensional arrays, their declarations, functionalities, and uses.... Keep reading ..
Difference Between One-Dimensional And Two-Dimensional Array
By Shivam Verma
● Published At Feb 2022
In this blog, we will learn about the difference between one-dimensional and two-dimensional arrays.... Keep reading ..
String
One of the most useful data types supplied in the C++ libraries is the string. A string is a variable that stores a sequence of letters or other characters, such as "Hello" or "May 10th is my birthday!". Just like the other data types, to create a string we first declare it, then we can store a value in it.
Introduction to String
By Vivek Goswami
● Published At Jan 2022
In this blog, we’ll learn about the string data structures, syntaxes, functionalities, and uses.... Keep reading ..
String Functions
By Shivam Verma
● Published At Feb 2022
In this blog, we will learn about string functions.... Keep reading ..
String literals
By Vidhi Singh
● Published At Jun 2022
This article extensively discusses string literals and their properties.... Keep reading ..
StringStream in C++
By Vaibhav Agarwal
● Published At Mar 2022
In this article, we will discuss Introduction to stringstream in c++ and three sample examples to better understand the use of stringstream in C++. ... Keep reading ..
Object Oriented Programming
Object-Oriented Programming is a programming style that is associated with the concept of class, objects, and various other concepts revolving around these two, like Inheritance, Polymorphism Abstraction, Encapsulation, etc. The main aim of OOP is to bind together the data and the functions that operate on them so that no other part of the code can access this data except that function.
OOPs Pillars
In this section, we’ll learn four different pillars of object-oriented programming like abstraction, inheritance, encapsulation, and polymorphism.
Function Overloading in C++
Classes and Objects
By Jaskirat Singh Saggu
● Published At Feb 2022
This blog will cover what classes and objects are, why we need them, what are the different types of access specifiers, and the different ways to declare a member function in C++.... Keep reading ..
The difference in structure and class
By Vaibhav Agarwal
● Published At Mar 2022
In this article, we will discuss what is structure, syntax, and what is classes, syntax and what are the differences and similarities between class and structure. ... Keep reading ..
Static data members in C++
By Anant Dhakad
● Published At May 2022
In this blog, we will learn about Static data members in C++.... Keep reading ..
Constructors and Destructors
By Jaskirat Singh Saggu
● Published At Feb 2022
This blog will cover what constructors and destructors are and what are the different types of constructors in C++ with examples.... Keep reading ..
Access specifier
By RAJESH RUNIWAL
● Published At Feb 2022
This article discusses Access specifiers.... Keep reading ..
Function Overloading and Function Overriding
By Shivam Verma
● Published At Feb 2022
In this blog, we will learn about function overloading and function overriding. We will also discuss the differences between function overloading and function overriding.... Keep reading ..
Operators Overloading
By Shivam Verma
● Published At Jan 2022
In this blog, we will learn about operator overloading.... Keep reading ..
Introduction to Virtual function
By RAJESH RUNIWAL
● Published At Feb 2022
This article discusses the Introduction to Virtual function.... Keep reading ..
Exceptional Handling
Exception handling is a mechanism that separates code that detects and handles exceptional circumstances from the rest of your program.
Exception Handling
By Shivam Verma
● Published At Feb 2022
In this blog, we will learn about exception handling, syntax and keyword of exception handling, and C++ standard exception and user-defined exception.... Keep reading ..
Exception Handling in C++ and Java
By Ankit Kumar
● Published At Mar 2022
This article will discuss exception handling in C++ and Java. In the end, we will answer some of the FAQs related to this.... Keep reading ..
Stack unwinding
By Vibhor Bhatnagar
● Published At Apr 2022
This article will discuss the concept of stack unwinding in C++.... Keep reading ..
C++ Advance
Take you from a basic knowledge of C++ to using more advanced features of the language. We'll start with a look at C++ Signal handling and move through Multithreading, Template, Dynamic Memory, Preprocessor, and much more.
Multithreading in C++
By Jaskirat Singh Saggu
● Published At Feb 2022
This blog will cover what a thread is, what multithreading is, why we should use multithreading, and how to create, terminate, join and detach threads in C++. ... Keep reading ..
Dynamic Memory
By Jaskirat Singh Saggu
● Published At Feb 2022
This blog will cover what dynamic memory is, what is the use of new and delete operators, and how we can use them to dynamically allocate memory for variables/objects/arrays with examples. ... Keep reading ..
Introduction of Signal Handling
By Shivam Verma
● Published At Feb 2022
In this blog, we will learn about Signal Handling.... Keep reading ..
Introduction to Preprocessor
By Shivam Verma
● Published At Feb 2022
In this blog, we will learn about Preprocessor.... Keep reading ..
Introduction to Templates
By Vivek Goswami
● Published At Jan 2022
In this blog, we’ll learn about templates in C++, their syntaxes, advantages, and disadvantages.... Keep reading ..
Tuples in C++
By Vidhi Singh
● Published At Mar 2022
In this article, we have extensively discussed tuples, their properties, and their usage in C++. ... Keep reading ..
Fast I/O in C++
By Sandeep kamila
● Published At Mar 2022
This blog will cover the different methods for Fast I/O or Fast Input/Output in C++.... Keep reading ..
STL in C++
STL is an acronym for Standard Template Library. It is a set of C++ template classes that provide generic classes and functions that can be used to implement data structures. It is a library of container classes, algorithms, and iterators.
Containers
A container is a holder object that stores a collection of other objects(its elements).Container owns the elements. It controlled the creation and des
More About STL Containers
Functors
By Shreya Deep
● Published At Apr 2022
This article discusses the topic of functors.... Keep reading ..
Iterators in c++
By Shivani Kumari
● Published At Apr 2022
In this blog, we will learn about the Iterators, the operators in iterators, and their types. And at the end of the blog, we will also get to know the pros and cons of iterators.... Keep reading ..
Iterators & Auto Keyword
By Aman kumar Chourasiya
● Published At Jan 2022
This blog will discuss iterators in the C++ programming language. We will also overview the concept of auto keyword in C++.... Keep reading ..
Algorithms In C++ STL
By Akash Nagpal
● Published At Mar 2022
In this blog, we will learn about Algorithms in C++ STL with the help of various examples.... Keep reading ..
Problems in C++
In this blog series, we’ll practice different problems based on concepts that we learn. The best way we learn anything is by practicing questions. So what you are waiting for Let’s get started. Hope, these problems help you to improve your C++ programming coding skills.
“Hello, World!” Program
By Nishant Rana
● Published At Mar 2022
This blog will cover the program to print the “Hello, World!” program.... Keep reading ..
Program to check whether the number is even or odd
By Urwashi Priya
● Published At Mar 2022
This article will brief you on how to write a program to check whether the number is even or odd.... Keep reading ..
C++ Program to Calculate Sum of Natural Numbers
By Akash Nagpal
● Published At Mar 2022
In this blog, we will learn to write a program to calculate sum of Natural numbers using various approaches.... Keep reading ..
Program to swap two numbers
By Urwashi Priya
● Published At Mar 2022
This article will brief you on how to write a program to swap two numbers. ... Keep reading ..
Program to Find Factorial
By Rhythm Jain
● Published At Mar 2022
In this article, we will be creating a program to find the factorial of a given number.... Keep reading ..
Fibonacci series
By Aditi
● Published At Mar 2022
This blog contains different ways to print Fibonacci series in C++ programming language.... Keep reading ..
Check Leap Year
By Vaibhav Agarwal
● Published At Mar 2022
In this article, we will discuss the problem in which we are given a number, let's say n, and we need to check whether the given number is a leap year or not. ... Keep reading ..
Check Armstrong Number
By Vaibhav Agarwal
● Published At Mar 2022
In this article, we will discuss the problem in which we are given a number, let's say n, and we need to check whether the given number is an Armstrong number or not... Keep reading ..
Program to calculate power using recursion
By Sacksham Sharma
● Published At Apr 2022
In this article, we have discussed how to calculate the power of a number using recursion, where the base number and power are given or entered by the user. ... Keep reading ..
Implement std::stack in C++
By Vidhi Singh
● Published At Mar 2022
In this article, we have extensively discussed how to implement stack in the C++ language. ... Keep reading ..
Execute main function in C++
By ABHINAV KUMAR
● Published At Mar 2022
This blog explains the different details about executing the main function in C++.... Keep reading ..
Copy elision in C++
By APURV RATHORE
● Published At Mar 2022
In this blog, we will learn about copy elision in C++. ... Keep reading ..
C++ program to add two complex numbers using Class
By Sanjana Yadav
● Published At Mar 2022
In this post, we will use class to write a C++ program that will add two complex integers (x1 + iy1) and (x2 + iy2). ... Keep reading ..
Coin Change Problem C++
By Akash Nagpal
● Published At Apr 2022
In this blog, we will solve the Coin Change Problem with the most efficient solution. ... Keep reading ..
Calculator Program in C++
By Vaibhav Agarwal
● Published At Mar 2022
In this article, we will do the code implementation of some functions of calculators such as addition, subtraction, multiplication, division, and more. ... Keep reading ..
Merge Two Unsorted Arrays
By Akash Nagpal
● Published At Mar 2022
This blog explains the different methods used to merge two unsorted arrays. ... Keep reading ..
C++ Program to Print Alphabet Triangle
By Rushali Patnaik
● Published At May 2022
In this blog, we will learn the codes for various alphabet triangle patterns. ... Keep reading ..
Recursively remove all adjacent duplicates
By Rushali Patnaik
● Published At Jun 2022
In this blog, we will learn and code how to remove all adjacent duplicates in a string recursively using C++ Programming Language. ... Keep reading ..
Write your own atoi() in C++
By Vaibhav Agarwal
● Published At Apr 2022
In this article, we will discuss the introduction of the atoi() function, discussed some sample examples, and approaches to implementing the atoi() function. ... Keep reading ..
Count the number of occurrences in a sorted Array
By Jahanvi gulati
● Published At May 2022
In this blog, we will find the number of occurrences in a sorted array of a number. We will look at its basic concepts, algorithms, and implementation in C++. ... Keep reading ..
Next Greater Element
By Aditi
● Published At Apr 2022
This blog contains different ways to find the next greater element in the C++ programming language.... Keep reading ..
Turn an image by 90 degrees
By Vaibhav Agarwal
● Published At Mar 2022
In this article, we will discuss the problem of rotating an array in a clockwise direction by 90 degrees. We will first understand the problem statement. And will discuss some sample cases and then its solution approach with the code in c++. ... Keep reading ..
Maximum size square sub-matrix
By Aditi
● Published At Mar 2022
This blog contains different ways to find the maximum submatrix of all 1’s in the C++ programming language.... Keep reading ..
Majority Element in an array
By ABHINAV KUMAR
● Published At Mar 2022
This blog explains the different methods used to find Majority Element in an array in C++.... Keep reading ..
puzzle icon

Top Problems related to C++