In this post, we will learn about how range-based for loop in C++ works instead of traditional for loops. This range-based loop concept is in works from C++ 11 release. It iterates.... Read More
In this tutorial of CodeSpeedy, we will learn how to sort a stack using temp Stacks in C++. We will learn to write the program in C++ in a very cool and easy way. If you don’.... Read More
In this post, we are going to learn about the standard function defined inside STL(standard template library) from <type_traits> header fileĀ std::remove_const. The std::remo.... Read More
In this article, we will learn about the Iterator library in C++ STL. Iterators are just like pointers, with the help of which we can access and traverse our data. We can also modi.... Read More
In this tutorial, we will learn about color spaces in OpenCV in C++. Let us start by getting answers to some basic questions which make the foundation of this topic. What is a Colo.... Read More
We are given a problem statement that goes as: Given two unsorted arrays, find all pairs whose sum is x in C++. Basically, we are given a number X and we have to find pairs in the .... Read More
In this post, we will learn about significant figures in C++. Significant, as the name suggests means the number of digits that are actually meaningful to us. For example, the numb.... Read More
In this tutorial, we are going to learn about Searching in Array in C++. We’ll be using an algorithm called Linear Search for this purpose. Linear search is a basic and simpl.... Read More