Posts from C++

Function Prototype in C++ with examples

By Raghav Khandelwal

In this tutorial, we are going to learn about the function prototypes in C++. What is function prototyping? A function prototype is basically a declaration of the function that tel.... Read More

Count the number of Upper cases in a string in C++

By Gagan Gupta

In this tutorial, we will learn to write the code to count all the upper cases alphabets in a string in C++ #include <iostream> using namespace std; int main() { int i; int u.... Read More

Passing a function as a parameter in C++

By Raghav Khandelwal

In this tutorial, we are going to learn about passing a function as a parameter in C++. A function is a block of code that is used for performing certain actions and runs only when.... Read More

How to remove special characters from a string in C++

By Gagan Gupta

In this tutorial, we will learn how to remove special characters from a given string in C++.   #include <iostream> using namespace std; int main() { string str="co//de??.... Read More

return statement in C++ with Examples

By Raghav Khandelwal

In this tutorial, we are going to learn about return statements in C++ along with some examples. To get a clear understanding of the topic first let us understand what are return s.... Read More

Remove specific substring from string in C++

By Gagan Gupta

In this tutorial, we will learn how to remove some specific substring from a given string using inbuilt functions of the string library in the C++ programming language. #include &l.... Read More

Create a 2d array dynamically using pointers in C++

By Raghav Khandelwal

In this tutorial, we will learn how to create a 2D array dynamically using pointers in C++. First, let us understand what is dynamic memory allocation. Memory in the C++ program is.... Read More

How to remove the last character from a string in C++

By Gagan Gupta

In this tutorial, we will learn how to remove the last character from a string in the C++ programing language Remove the last character from a string in C++ #include <string>.... Read More

Related Posts