Posts from C++

Reverse words in a string in C++ without using any built-in function in CPP

By Saurabh Singh

In this CPP tutorial, we are going to discuss how to reverse words in a given string without using any built-in function. This question is also being asked in many interviews like .... Read More

Destructors in Object Oriented Programming ( OOPS) – C++

By Saurabh Singh

In this c++ tutorial, we are going to discuss the destructors which is used to delete an object in classes. Go through this tutorial to learn destructors in C++. What is Destructor.... Read More

push_back() and pop_back() function in C++ STL

By Saurabh Singh

In this CPP tutorial, we are going to discuss push_back() and pop_back() function used to push and pop element in vectors in STL. push_back() and pop_back() function in C++ LetR.... Read More

How to implement an algorithm for computing Fibonacci numbers in C++ using DP

By Saurabh Singh

In this C++ tutorial, I will show you how to find Fibonacci number in C++. Learn how to implement an algorithm using dynamic programming (DP) to find a number, by just entering th.... Read More

Frequency of each character in a string using map in c++

By Saurabh Singh

In some competitive programming problems, it is required to check if a character in a string is repeating or not, number of repeating character or frequency of a particular charact.... Read More

Classes and objects in C++

By Saurabh Singh

In this C++ tutorial, we will learn the basics of classes and objects. Also, we have provided an easy example. Consider an example of a company, where there are manager, assistant .... Read More

Mathematical functions in C++

By divyesh srivastava

In some problems it is required to find values of some mathematical functions like logarithm value, sinh value, tanh value, exponential value calculating such values manually is no.... Read More

Constructors in C++

By Ravi Raj

In this C++ tutorial, we are going to discuss the constructors with examples. Suppose you have to initialize thousands of values of a data member with some initial value. But doing.... Read More

Related Posts