Posts by Vidhi Jain
Author Biographical Info: Not available
Hello folks! Today, we will discuss consteval specifier in C++. Consteval specifier declares an immediate function to produce constant. This means that every potentially evaluated .... Read More
Let’s talk about filtering lines in C++. We can filter lines in the file by some characters present in it. Here, we use library Ranges for filtering the lines if certain word.... Read More
Let’s discuss constexpr specifier in C++. We use them to evaluate the value of the functions and variables at compile-time, and hence we save time at run time. The expression.... Read More
Here we will learn about the function list::splice in C++, which is used to transfer elements from one list to another. list::splice is an inbuilt function in the Standard temporar.... Read More
The multiple left rotations mean rotating an array n number of times. For eg: array: 1,2,3,4,5 rotating 3 times: 4 5 1 2 3 C++ Code for multiple left rotations For having multiple .... Read More
Let’s talk about boost is_pointer in C++. The is_pointer template of the boost library. It tells if the given type is a pointer or not. It returns the value in boolean. Heade.... Read More
Let’s learn about std::next_permutation and std::prev_permutation in C++. Let’s first know about permutations: We know that a permutation is the n! possible arrangeme.... Read More
In this tutorial, will learn about the normal distribution class in C++. Header file used: <random.h> We use it to generate random numbers according to the Normal random numb.... Read More