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:

    • C Program to Get a Digit at Any Position of a Number 52 views
    • Change a Variable from inside a C Function 39 views
    • Add New Node to XML File Using libxml2 in C 39 views
    • C Program to Set, Clear and Toggle a Bit 38 views
    • C Program to Append to a File 34 views
    • How to Take Screenshot on Fedora GNOME Desktop 32 views
    • C Program to Count Characters, Words and Lines in a File 32 views
    • Implement Bubble Sort in C 31 views
    • Friend Function in C++ 28 views
    • How to Implement Smart Pointer in C++? 27 views

    [chatbot_plugin]

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