Skip to content
QnA Plus

Code, Create, Conquer: Insights, Algorithms, and Innovation!

  • Home
  • Privacy Policy
  • Terms and Conditions
  • Contact
  • Contribute
  • About

C++

  • Home
  • Programming
  • C++
  • Page 14

Move std::unique_ptr to Pass to a Function or Assign to Another Variable

Posted by By Srikanta September 20, 2019Posted inProgramming, C++No Comments
The std::unique_ptr has unique ownership of the object it manages. That means that more than one std::unique_ptr object can not contain the managed object pointer. That’s why we can not…
Read More

Custom Deleter in std::unique_ptr

Posted by By Srikanta September 14, 2019Posted inProgramming, C++No Comments
In my previous article, we discussed how std::unique_ptr helps to avoid memory leak. By default it calls the default deleter (C++ delete operator) when the std::unique_ptr goes out of context.…
Read More

What is std::unique_ptr? How to Use std::unique_ptr?

Posted by By Srikanta March 3, 2018Posted inProgramming, C++No Comments
std::unique_ptr is a smart pointer that owns and manages another object through pointer. std::unique_ptr has unique ownership of the object. That means only one std::unique_ptr can have the ownership of…
Read More

How to do Asynchronous Operations using boost::asio?

Posted by By Srikanta March 1, 2018Posted inProgramming, C++No Comments
Boost::asio is primarily designed for accomplishing time-consuming networking I/O (Input/Output) operations in an asynchronous way. I/O operations over network usually takes considerable time to complete. In synchronous mode, if you…
Read More

Compilation Errors, Linking Errors, and Runtime Errors: Understanding the Key Differences

Posted by By Srikanta June 12, 2016Posted inProgramming, C, C++No Comments
Errors are an inevitable part of programming. Whether you are a beginner or an experienced developer, encountering errors while writing and executing code is common. These errors can be classified…
Read More

Posts pagination

Previous page 1 … 12 13 14 15 Next page
Categories
  • Programming 187
    • C 105
    • C++ 71
    • Python 7
  • Technology 30
  • Networking 6
  • Database 4
  • Others 8

    Popular Posts:

    • Forgot Grid Pattern Lock or Password of Your Android Phone? Here Is How You Can Unlock It 50 views
    • How to Implement Periodic and Single Shot Timers in Linux? 44 views
    • C Program to Get a Digit at Any Position of a Number 39 views
    • Change a Variable from inside a C Function 34 views
    • C Program to Sort Linked List without Allocating Extra Memory 32 views
    • Implement Bubble Sort in C 29 views
    • C Program to Sleep in Milliseconds 28 views
    • C Program to Count Words in a String 28 views
    • Add New Node to XML File Using libxml2 in C 27 views
    • Count Occurrences of a Substring in a String in C 26 views

    💬
    Chat with Us!

    Copyright © 2015 - 2026 QnA Plus. All rights reserved.
    Scroll to Top
    0
    0
    0
    0
    0
    0