Posts from C++

std::allocator() function in C++

By Rahul Jain

In this tutorial we will study about std::allocator() function in C++. What is Std allocator? Allocators are objects which are responsible for encapsulating(enclose (something) in .... Read More

Statements in C++

By Amrita Sony

A statement is a fragment of a program. It may be a single line of code always ended by a semicolon (;) or a block of code that determines how and in what order program is executed.... Read More

Variadic arguments in C++

By Amrita Sony

Hello, Learners here we will discuss Variadic arguments in C++. When a function is declared using Variadic arguments then a user can pass any number of arguments to this function w.... Read More

How to get Current Directory in C++

By Amrita Sony

Hello, Learners here we will see how can we get the current working directory in C++. PATH_MAX is a constant whose value is different for different operating systems. It determines.... Read More

Trim Strings – Boost String Algorithm in C++

By Pranav Prakasan

This article provides a detailed explanation of ‘How to Trim Strings in C++ using the Boost String Algorithm’. Above all, ‘in just a single line of code’. B.... Read More

Unnamed and inline namespaces in C++

By Karandeep Singh

Hey, guys today we are going to learn about unnamed(anonymous) and inline namespaces in C++. Before starting with the unnamed and inline namespaces, I would like to briefly discuss.... Read More

atomic_flag in C++

By Aakash Puri

In this tutorial, you will learn about atomic_flag in C++. It is of atomic boolean type. Unlike other atomic operations, it is lock-free. And it does not provide load and store ope.... Read More

ratio_equal() and ratio_not_equal() in C++

By Aakash Puri

In this tutorial, you will learn about the two ratio manipulation functions in C++ i.e. ratio_equal() and ratio_not_equal(). Apart from these two ratio manipulation functions, ther.... Read More

Related Posts