Skip to content

Tag Archives: CPP-Functions

In C++, we have multiple options to operate over the data like in the case where we can use functions and functors. Although both seem… Read More
A function is a collection of statements that accept inputs, carry out certain calculations, and output the results. The concept is to group similar or… Read More
Prerequisites:  Pointers in C++ Functions in C++ Passing Pointers to functions means declaring the function parameter as a pointer, at the function calling passing the… Read More
Several ways exist in which data (or variables) could be sent as an argument to a function. Two of the common ones are Passing by… Read More
The sleep_for method in the thread header file suspends the program’s execution for a certain period. The method also requires the presence of the chrono… Read More
Halting the program’s execution at the desired time for a specific duration is one of the most used features in a programming language. This is… 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
Prerequisite: String in C++ String class is one of the features provided by the Standard template library to us, So it comes up with great… Read More
Several ways exist in which data (or variables) could be sent as an argument to a function. Two of the common ones are Passing by… Read More
The stoi() is a standard library function that turns a string into an integer. C++ programmers utilize the function, which stands for “string to integer,”… Read More
C++ provides the functionality of delay or inactive state with the help of the operating system for a specific period of time. Other CPU operations… Read More
In this article, we will discuss about the 10 most used inbuilt functions of C++ which will help you to save time and make code… Read More
A significant benefit of object-oriented programming is the reusability of code which eliminates redundant coding. An important feature of C++ is called templates. Templates support… Read More
This function fcvt() converts the floating-point value to NULL-terminated ASCII string and returns a pointer to it. It is defined in the library function defined… Read More
In C/C++, strcat() is a predefined function used for string handling, under string library (string.h in C, and cstring in C++). This function appends the… Read More

Start Your Coding Journey Now!