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 13

Execute User Defined Function before Main() in C++

Posted by By Srikanta May 17, 2020Posted inProgramming, C++No Comments
In the previous article, we saw how to execute user defined function before main() in C. In C++ also we can use same mechanism to execute function before main. Here…
Read More

Function Overloading in C++

Posted by By Srikanta November 24, 2019Posted inProgramming, C++No Comments
Function overloading in C++ allows us having multiple definitions of a single function or method. That means that we can have multiple functions with same name. But their input arguments…
Read More

Singleton Class in C++

Posted by By Srikanta October 26, 2019Posted inProgramming, C++No Comments
Singleton class ensures that there will be only one object of the class in lifetime of a program. Normally we can create as many objects as we want from a…
Read More

What is std::shared_ptr? Examples

Posted by By Srikanta October 10, 2019Posted inProgramming, C++No Comments
std::shared_ptr is a smart pointer that manages shared ownership of an object through pointer. Multiple std::shared_ptr (s) can hold the same object pointer. The actual object gets deleted when all…
Read More

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

Posts pagination

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

    Popular Posts:

    • Implement Bubble Sort in C 108 views
    • How to install Ping or Ping6 using YUM 93 views
    • C Program to Sleep in Milliseconds 73 views
    • How to Implement Periodic and Single Shot Timers in Linux? 70 views
    • How to Install and Configure MySQL on CentOS: A Complete Guide 49 views
    • Change a Variable from inside a C Function 48 views
    • C Program to Check Whether Two String are Equal 46 views
    • How to do Asynchronous Operations using boost::asio? 41 views
    • C++ | Binding a Member Function 39 views
    • How to Re-Indent C Code Using Notepad++ 37 views

    💬
    Chat with Us!

    Copyright © 2015 - 2025 QnA Plus. All rights reserved.
    Scroll to Top
    0
    1
    1
    4
    3
    0