Noreen Sulehrynoreensulehry.hashnode.dev路Sep 25, 2023Iterators in C++An iterator acts like a pointer to an element inside a container (e.g, maps, vector, list). You can use iterators to navigate through the items, read them, and modify them. Types of Iterators: Input Iterators: Can read from a position Output Iterst...Discusscpp
Subhraneel Sahasubhraneel24.hashnode.dev路Sep 18, 2023Operator Overloading in C++Operator overloading is a compile-time polymorphism. It is an idea of giving special meaning to an existing operator in C++ without changing its original meaning.In C++, we can make operators work for user-defined classes. This means C++ has the abil...Discuss路10 likes路33 readscpp
Coder Legioncoderlegion.hashnode.dev路Sep 17, 2023[Solved] No instance of overloaded function matches the argument listEver encountered the 'No Instance of Overloaded Function Matches the Argument list' error? It happens when you call a function with incompatible arguments. The solution: adjust your function call to match the expected arguments, and we'll show you ho...Discusscpp
Shreyansh Jainjainshreyansh.com路Sep 7, 2023How vector works internally in C++?IntroductionVectors are sequence containers which is a part of the C++ Standard Template Library. They share similarities with arrays, such as using continuous memory storage and allowing efficient element access through pointers. However, unlike arr...DiscussData Structures and Algorithmscpp
Sumit Mazumdarsumitmazumdar.hashnode.dev路Sep 6, 2023Saving Memory Space: How to Handle Multiple Stacks with a Single ArrayTo store multiple stack in an array, the first approach that comes to your mind would be that you have an array of n elements and there are k stacks to be stored, and the first thing you will be doing is to make space for stacks that is you will divi...Discussarrays
Sumit Mazumdarsumitmazumdar.hashnode.dev路Sep 6, 2023Stack Data Structure: Building Blocks of Efficient AlgorithmsA stack is a linear data structure in which the insertion of a new element and removal of an existing element takes place at the same end represented as the top of the stack. The stack data structure follows the Last-In, First-Out (LIFO) principle. T...Discussstack
Rasul Adasovblog.futureblur.com路Aug 22, 2023The absolute state of package management in C++馃 Back in the dawn of C++, package management wasn't even on the radar. Developers were left to fend for themselves, downloading libraries, wrangling dependencies, and praying for compatibility. The result? Chaos, to put it mildly. This prompted a c...Discuss路30 readscpp
Anushayosa.hashnode.dev路Aug 14, 2023Simple Lambda functionIn this article, I write a c++ program using lambda. This lambda function squares the input value.The lambda is assigned to a variable. By calling this variable twice, the code in the body of the lambda gets executed. #include <iostream> using namesp...DiscussC++ Basicscpp
Rahul Kumarstartdev.hashnode.dev路Aug 4, 2023What is the meaning of '&' in c++Reference Operator: When used as a reference operator, the & symbol is used to create a reference to a variable. A reference is an alias or an alternate name for an existing variable. It allows you to access and modify the original variable using the...Discusscpp
Manjit Baishyamy-coding-roadmap.hashnode.dev路Jul 23, 202307. User Inputs in C++The following blog will depict the process and syntax of taking input from users while running a code. This is known as taking input at runtime - taking inputs when a program is running. All explanations will be done with examples. Adding two number...DiscussC++user input array