How to get Yesterday’s Date in Python

In this Python program, we are finding what was yesterday’s date with reference to today. Python Program to get Yesterday’s date In Python Output: Today is: 2023-02-18Yesterday was: 2023-02-17 How does it work

C++ unique_ptr member functions swap, release, reset

In this article, we are going to learn about the member functions of unique_ptr class template. These functions are very useful when we make use of the unique_ptr smart pointer in our programs and applications code. There are many types of functions associated with unique_ptr pointer. These are: Modifiers release() reset() swap() Observers 1.get() 2.get_deleter() …

C++ unique_ptr member functions swap, release, reset Read More »