PinnedNitish SinghinDev GeniusPassing By Pointer vs Passing By Reference in C++In C++ programming language, there are three ways to pass variables to a function.Nov 26, 20232Nov 26, 20232
PinnedNitish SinghinDev GeniusImplement a stack using a vector with push, pop operationsStacks are a form of Container adaptors that operate on a Last In First Out (LIFO) basis. This means that a new element is added at one end…Jun 30, 20231Jun 30, 20231
PinnedNitish SinghinDev GeniusHow to implement our own Vector Class in C++?Vector is the one of the most popular containers in C++, which acts as a dynamic array that can resize itself automatically when elements…Jul 5, 20231Jul 5, 20231
Nitish SinghinDev GeniusAdapter Design Pattern in C++The Adapter Pattern is a structural design pattern that allows two incompatible interfaces to work together. It acts as a bridge, enabling…6d ago6d ago
Nitish SinghinDev GeniusFactory Method in C++ / Design PatternsThe Factory Method pattern allows subclasses to choose the type of objects to create without revealing the creation process to the client…Apr 24Apr 24
Nitish SinghinDev GeniusStack implementation in C++The standard stack class of standard template liabrary is a container adaptor that provides the functionality of a stack, which follows the…Apr 243Apr 243
Nitish SinghinDev GeniusShallow Copy vs. Deep Copy: Understanding the Difference in C++In object-oriented programming, object copying involves creating a new object and setting its initial state based on an existing object…Mar 31Mar 31
Nitish SinghinDev GeniusConstructor and Destructor in C++A constructor in C++ is a special method that initializes the data members of an object during object creation. It has the same name as the…Feb 27Feb 27
Nitish SinghinDev GeniusIterators in C++: An Ultimate Guide to IteratorsIterators serve as a generalized form of pointers designed to enable C++ programs to interact with various data structures, such as…Jan 5Jan 5
Nitish SinghVector in C++ STLVector container in C++ is a versatile and powerful tool for managing dynamic arrays efficiently. It provides an array-like interface with…Dec 12, 2023Dec 12, 2023