PinnedNitish SinghinDev GeniusPassing By Pointer vs Passing By Reference in C++Let’s take a closer look at the smallest_element function and analyze how the arguments are being passed to it.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 SinghUnderstanding the Project Management Triangle: Balancing Scope, Time, and QualityIn many projects, especially in software development, you may feel like you’re constantly adding new features, racing against tight…5h ago5h ago
Nitish SinghinDev GeniusThread Synchronization in C++In modern software development, running processes in parallel is often necessary to enhance performance and efficiency. However, this…Jul 5Jul 5
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 GeniusDifference between Shallow and Deep Copy of a class 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