C++11 : std::any_of() Examples and Tutorial
In this article we will discuss how to use STL Algorithm std::any_of() with both lambda function and function pointer.
C++11 : std::any_of() Examples and Tutorial Read More »
In this article we will discuss how to use STL Algorithm std::any_of() with both lambda function and function pointer.
C++11 : std::any_of() Examples and Tutorial Read More »
In this article we will discuss both case sensitive and insensitive implementations to check if a string starts with an another given string.
C++ : Check if a String starts with an another given String Read More »
In this article we will discuss how to overload postfix and prefix increment and decrement operators in c++.
Overloading Postfix / Prefix ( ++ , –) Increment and Decrements Operators in C++ Read More »
In this article we will discuss how to overload unary operators in c++Â using both member and Friend function.
Unary Operator Overloading in C++ using both member & Friend function Read More »
In this article we will discuss what is operator overloading in C++, why do we need it and how to overload an operator for a user defined class.
Need of Operator Overloading in C++ ? | Tutorial and Examples Read More »
In this article we will discuss what is std::make_tuple and why do we need it.
C++11 : make_tuple Tutorial & Example Read More »
In this article we will discuss what is std::tuple and how to use it.
C++11 : std::tuple Tutorial & Examples Read More »
In this article, we will look into a Smart Pointer unique_ptr in C++. It provides an easier way of memory management. Smart pointers are an integral part of modern C++ as they help prevent memory leaks and ensure that memory is managed automatically. What is a unique_ptr? A unique_ptr is a type of smart pointer
What is unique_ptr in C++? Read More »
In this example we will discuss c++11 std::packaged_task feature and its uses.
C++11 Multithreading – Part 10: packaged_task Example and Tutorial Read More »
In this article we will discuss different ways to convert double to String or char array with or without precision i.e. double to String using C++11’s std::to_string std::to_string is introduced in c++11. Example to convert double to std::string using to_string is as follows, double num = 6789898989.33999443; //Converting using std::to_string std::string str = std::to_string(num); Output:
C++ : Convert double to string and manage precision | scientific notation Read More »