×
Home Discussions Write at Opengenus IQ
×
  • DSA Cheatsheet
  • HOME
  • Track your progress
  • Deep Learning (FREE)
  • Join our Internship 🎓
  • RANDOM
  • One Liner

C++

C++ is a powerful, object oriented and early programming language which is derived from C. It is widely used in production systems and gives huge control to the programmer.

C++

Hangman Game in C++

In this article at OpenGenus, we will cover how to create a console hangman game in C++ programming language. Hangman is a popular word-guessing game that involves one player picking a random word, providing the number of letters in that word.

Jessica Janko
C++

Map::swap() in C++

The swap() function in C++ is used to interchange the elements of two variables. Similarly, the Map::swap() member function is used to swap the elements of two map objects.

Vidhi Srivastava Vidhi Srivastava
C++

Selection Sort in C++ using Inheritance and Template - Recursive and Iterative

In this article at OpenGenus, we will explore how to implement Selection Sort in C++ using the principles of object-oriented programming (OOP) and templates. We will define both recursive and iterative approaches to the algorithm.

Arravelly Keerthi
C++

Doubly Linked List in C++ using OOP and Template

In this article at OpenGenus, we will review how we can utilize OOP and templates to create a versatile and efficient implementation of a doubly linked list in C++.

Jessica Janko
C++

Insert element in unordered_map in C++ STL [3 methods]

In this article at OpenGenus, we will explore different ways to insert elements in unordered_map in C++ STL. This can be greatly helpful in using maps and solving complex coding questions.

Aditya Singh
C++

Map of Sets in C++ STL

In the C++ STL (Standard Library), the means to use a variety of containers are provided to arrange efficient methods of managing and manipulating data. In this article, we have explored Map of Sets.

Jessica Janko
C++

Vector of Map in C++

In this article at OpenGenus, we will mainly know about vector of map. Beforehand, we will know briefly about what is vector in C++. Vector is a part of Standard Template Library of C++.

Barisha Chowdhury
C++

Stack::Empty in C++ STL

Among the available functions provided by the C++ standard library is the stack::empty function. Stack::empty is used to determine whether a given stack is empty. The function returns true if the stack is empty and false if it is not empty.

Jessica Janko
C++

Convert C and C++ code to Assembly Code

In this article at OpenGenus, we have explained how to convert / compile a C or C++ code to Assembly code using GCC or G++ compiler.

Devansh Biswal
C++

Queue in C++ STL for User-Defined Objects

In this article at OpenGenus, we will explore the fundamentals of the Queue data structure with a user-defined objects and how C++ provides a powerful Standard Template Library (STL) which has a container for queue which you can use in your code.

Aayush Shah
C++

Deep vs Shallow Copy in C++

Two common types of copying objects in programming are shallow copy and deep copy and we will discuss them in this article at OpenGenus.

Shriyansh Gaur
C++

VPOPCNT: Number of set bits

In this article at OpenGenus, you must have the complete idea of VPOPCNT assembly instruction that is used to get the number of set bits.

Devansh Biswal
C++

MOVSX, MOVSXD - Move with Sign Extend, Doubleword

In this article at OpenGenus, we have covered 2 important assembly instructions namely MOVSX and MOVSXD which is used to move a data considering sign bits. It is an alternative to MOVZX.

Devansh Biswal
instruction set

Exit program in Assembly code

In this article at OpenGenus, we have explored how to exit a program written in Assembly.

Devansh Biswal
C++

MOVZX - Move with Zero Extend

In this article at OpenGenus, we have explored the concept of MOVZX assembly instruction in depth with code examples.

Devansh Biswal
C++

C++ program to print Rhombus Pattern

In this article at OpenGenus, we will learn to print Rhombus pattern in C++ language. We will go with two types of Rhombus patterns that is solid Rhombus and hollow Rhombus.

kartikeya
C++

Adjacency list and matrix in C++

In this article, we will take a look at the concept of Adjacency list and Adjacency matrix and how to implement both data structures in C++ Programming Language.

Ayush Tiwari
C++

Different ways to convert string to vector in C++

In this article at OpenGenus, we will take a look at the Different ways to convert string to vector in C++.

Ayush Tiwari
C++

Multi-threaded C++ program for Linear Search

In this article at OpenGenus, we have explained how to do Linear Search in a multi-threaded way in C++ Programming Language. We have presented this with the complete C++ code.

Rahul Reddy
C++

Print Parallelogram Star Pattern in C++

In this article at OpenGenus, we will learn how to print a parallelogram star pattern using C++. This is a common programming exercise that can help beginners get familiar with loops and basic C++ syntax.

King Immanuel King Immanuel
C++

Hollow and Filled Square pattern in C++

In this article, we will learn how to generate both a hollow and filled square pattern in C++.

Manish Singh
C++

Different ways to initialize unordered set in C++ STL

In this article at OpenGenus, we will explore 4 different methods for initializing an unordered set in C++ STL.

Manish Singh
C++

3 Different ways to delete element from Set in C++ STL

In this article at OpenGenus, we will learn about 3 different ways to delete element from set in C++ STL. This will involve using methods like erase and find.

Shruti Singh
C++

Multithreaded for loop in C++

In this article at OpenGenus, we will learn about Multithreaded for loops in C++, Multithreading concept helps us to run many programs simultaneously at a time, resulting in making the system faster and multi-tasking. Before diving into the topic we should know Why do we Multithread loops?.

Satya Prakash Sasini
C++

Bubble Sort in C++ using OOP and template

In this article, we will take a look at the implementation of Bubble Sort in C++ using the concepts of OOP and template.

Ayush Tiwari
OpenGenus IQ © 2025 All rights reserved â„¢
Contact - Email: team@opengenus.org
Primary Address: JR Shinjuku Miraina Tower, Tokyo, Shinjuku 160-0022, JP
Office #2: Commercial Complex D4, Delhi, Delhi 110017, IN
Top Posts LinkedIn Twitter
Android App
Apply for Internship