Skip to content

Category Archives: C++

Prerequisite: unordered_set() in C++ The max_bucket_count() is the built-in function defined in C++ STL. This function returns the maximum number of buckets that the Unordered… Read More
Prerequisites: Install C++17 or Newer Standard Compiler It is a common requirement of users to extract filenames and their extensions from a given path. The… Read More
Prerequisites: String in C++ Set STL in C++ A string is a collection of characters and if we are converting it into a set the… Read More
Prerequisite: Vector in C++ String in C++ Split String By Space Into Vector In C++, so we need to insert every character into a vector… Read More
Waiting for User input is common functionality in any program requiring some form of user intervention. Whether it is halting the execution to see the… Read More
Prerequisite: Unordered_set in C++ The last standard released in 2017 is C++ 17, C++20 is going to be the latest standard with many new features… Read More
strpbrk() is a string function in C++ STL that takes in two strings and finds the first occurrence of any character of string2 in string1.… Read More
The task is to hide and Show the console window of a C++ program. The program for the same is given below. Note: The results… Read More
Prerequisite: Chrono Library in C++ The task is to calculate the running time of a program in Microseconds in C++ Header file:   #include<chrono> The… Read More
The octal numeral system, or oct for short, is the base-8 number system and uses the digits 0 to 7, that is to say, 10… Read More
To convert String to size_t  in C++ we will use stringstream, It associates a string object with a stream allowing you to read from the… Read More
The full form of std is standard and it is a namespace. All the identifiers are declared inside the std namespace, in other words, a… Read More
__builtin_popcount()  is a built-in function of GCC compiler. This function is used to count the number of set bits in an unsigned integer.  Syntax: __builtin_popcount(int… Read More
Sets are the containers that are available in the C++ Standard Template Library (STL). They are used to hold distinct elements in a predetermined sequence; fundamentally, it… Read More
In this article, we will learn how to convert String To Float/Double And Vice-Versa. In order to do conversion we will be using the following… Read More

Start Your Coding Journey Now!