Posts by Ankita Khan

Author Biographical Info: Not available

Difference between std::lock_guard and std::unique_lock in C++

By Ankita Khan

In this tutorial, we will learn the difference between std::lock_guard and std::unique_lock in C++. Before proceeding to the differences, let us discuss the std::lock_guard and std.... Read More

C++ goto statement and its usage

By Ankita Khan

In this tutorial, we will learn about the C++ goto statement and its usage in detail. Before proceeding to its implementation, let us understand the key characteristics of the goto.... Read More

C++ time() function with example

By Ankita Khan

In this tutorial, we will learn about the C++ time() function with example. In C++, the standard library does not provide any particular data type for date and time. It generally i.... Read More

Multiplication of polynomials in C++

By Ankita Khan

In this tutorial, we will learn how to perform multiplication of polynomials in C++. Before proceeding to the solution, let us understand what a polynomial is: A polynomial is an e.... Read More

splitlines() function in Python

By Ankita Khan

In this tutorial, we will learn about splitlines() function in Python. splitlines() is a built-in function that splits any string based on its line boundaries. It accepts an option.... Read More

list insert() in C++

By Ankita Khan

In this tutorial, we will learn aboutĀ list insert() in C++. The list insert() function in C++ inserts an element at any particular place on the list. This function takes three arg.... Read More

Replace comma with a new line in a text file using Python

By Ankita Khan

In this tutorial, we will learn how to replace the comma with a new line in a text fileĀ in Python. Before proceeding to the solution, let us learn about dealing with text files in.... Read More

Insert space after a certain character in C++

By Ankita Khan

In this tutorial, we will learn how to insert a space after a certain character in a string in C++. Before start writing our program, It is good to make an algorithm to determine h.... Read More