Posts by Tanmaay Kankaria

Author Biographical Info: Not available

How to remove digits from string in C++

By Tanmaay Kankaria

In this article, we are going to learn how to remove digits from a string in C++. Strings are an array of characters. The main difference between a character array and a string is .... Read More

How to compare between string in C++

By Tanmaay Kankaria

In this article, we are going to learn how to compare two strings in C++ language. After the user enters the two strings to be compared we can use the strcmp() function which is a.... Read More

Count total number of words in a text file in C++

By Tanmaay Kankaria

In this article, we will discuss with a program, how we can count the total number of words in a text file in C++ language. You can use a text file of any name, just make sure that.... Read More

Explaining the use of extern “C” in C++

By Tanmaay Kankaria

The extern keyword is used to define global variables. Global variables are also known as external variables. They are defined outside the function. The value of these variables ca.... Read More