Posts by Vishal Patil
Author Biographical Info: Not available
Hello everyone, in this tutorial we learn about the std::transform() function available in C++. The transform function is defined under the algorithm header file. The transform fun.... Read More
In this tutorial, we will learn about set::emplace() function available in C++. set::emplace() We will cover these: Basic function of set::emplace(). Syntax Few examples Actual imp.... Read More
Hello everyone, in this tutorial, we will learn about the atol() , atoll() and atof() functions available in C++. atol() function atol() function is used to convert string value in.... Read More
Hello everyone, in this tutorial, we will write a C++ program to replace a word with asterisks in a sentence. Below is the given C++ code that will replace the specific word with a.... Read More
Hello everyone, in this tutorial, we will learn about the nested ternary operator in C++. It is called a ternary operator because it uses three operands for its operation. It is al.... Read More
Hello everyone, in this tutorial, we will learn about the get_temporary_buffer in C++. std::get_temporary_buffer Generally, buffer refers to a block of computer memory that serves .... Read More
Hello everyone, in this tutorial, we will check if a given array contains duplicate elements within k distance from each other in C++. Examples Input 1 : a[] = {1,4,2,1,5} k=2 Outp.... Read More
Hello everyone, In this tutorial, we will learn about calling the virtual function from the constructor or the destructor of the class in C++. Before moving to this topic you shoul.... Read More