×
Home Discussions Write at Opengenus IQ
×
  • #7daysOfCode
  • C Interview questions
  • Linux 💽
  • 🔊 Data Structures
  • Graph Algorithms
  • Dynamic Programming 💑
  • Greedy Algo 📔
  • Algo Book 🧠
  • String Algo 🧬
  • Join our Internship 🎓
  • Home

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.

Software Engineering

Digit Separators in C++

In this article, we have discussed about Digit Separators in C++. This topic is introduced in C++14. Using digit separators in the code make it easy for human readers to parse large numeric values.

Ketaki Gorakshanath Gangadhar
Software Engineering

Implementing rmdir using C/ C++

We have developed the rmdir command of UNIX systems in C and C++ by using the remove and nftw system functions to delete a directory.

Sahil Silare Sahil Silare
Software Engineering

Implementing mkdir in C/ C++

We have developed the mkdir command of UNIX systems in C and C++ by using the mkdir function to create a directory.

Sahil Silare Sahil Silare
Software Engineering

Implementing cd command in C/ C++

We have developed the cd command of UNIX systems in C and C++ by using the chdir function.

Sahil Silare Sahil Silare
Software Engineering

nullptr (null pointer) in C++

A null pointer (nullptr) is a pointer that does not point to any memory location. nullptr is a keyword that was introduced in C++11 standard to denote a null pointer. This standard also introduced a nullptr_t type.

Rohit Topi
Software Engineering

Different ways to initialize 2D array in C++

We have explored different types to initialize 2D array in C++ like Sized array, Skipping values and Unsized array initialization.

Srishti Guleria
Software Engineering

Implementing pwd command in C/C++

We will use the header file dirent.h for directory structures and objects and implement our pwd command in C/C++. This will involve the getcwd() function call.

Sahil Silare Sahil Silare
Software Engineering

priority_queue::push() in C++

Push function in priority queue is used to to insert a element in the queue, the element is inserted in the priority queue based on it's value which defines it's priority in the queue.

Hrithik Shrivastava
Software Engineering

Different Ways to Initialize Priority queue in C++

We have demonstrated different Ways to Initialize Priority queue in C++ such as using Max Heap, Min Heap and with vector and array.

Hrithik Shrivastava
Software Engineering

Arrays vs Vectors in C++

We have explored the differences between array and vectors in C++ in depth along with C++ code examples. Some differences include size of array is fixed while vector is dynamic.

Aayushi Rawat
Software Engineering

Move Semantics in C++

Move semantics is moving ownership of objects around and this includes concepts of move constructor.

Aryan Rawlani
Software Engineering

Alternatives to Vector in C++

In this article, we have explored the alternatives of Vector in C++ such as array, Deque, Linked List, map and multiset.

Ashutosh Kumar
Software Engineering

Implementing a Binary Search Tree (BST) in C++

In this article, we have explained the idea of implementing Binary Search Tree (BST) from scratch in C++ including all basic operations like insertion, deletion and traversal.

Sahil Silare Sahil Silare
Software Engineering

Different ways to add elements in Priority queue in C++

Priority queue is an adapter which uses a vector by default as an underlying container, but a deque can also be used. In this article, we have explored Different ways to add elements in Priority queue container in C++.

Anuj Singh
Software Engineering

unordered_set in C++ STL

In this article, we have discussed about the unordered_set container class of the C++ Standard Template Library. unordered_set is one of the most useful containers offered by the STL and provides search, insert, delete in O(1) on average.

Ayush Mehar
Software Engineering

Cin and Cout in C++

C++ uses the concept of streams to perform I/O operations. A stream is a sequence of bytes in which character sequences are 'flown into' or 'flow out of'. In this article, we have covered cin and cout in C++ in depth.

Avantika Balaji
Software Engineering

Simplified: C++ STL Lists

In this article, we have explored List in C++ STL in depth along with its member functions and applications. It is a good alternative to arrays.

Mannan Bansal
Software Engineering

Template Class in C++

Template class in C++ is a feature that allows a programmer to write generic classes and functions which is useful as the same class/ function can handle data of multiple data types.

Abhiram Reddy Duggempudi Abhiram Reddy Duggempudi
Software Engineering

Private Inheritance in C++

In this article, we will be learning about Private Inheritance in Object Oriented Programming (OOP) with reference to C++. Private inheritance involves the use of Private Access Specifiers for its member functions and data members.

Pulkit Sharma
Data Structures

Implementing Binary tree in C++

In this article, we have explored how to implement Binary Tree Data Structure in C++ including all different operations like traversing, inserting and deleting. We have used Object Oriented Programming (OOP) concepts.

Ayush Sonare
Software Engineering

Unary and Binary Operations in C++

In this article, we have explored the different types of Unary and Binary Operations in C++ in depth. These includes common operators like increment (++) and decrement (--) along with all variants.

Disha Sharma
Software Engineering

Implementing Binary search in C++

We have explained in depth how to implement Binary Search in C++. We have covered 3 approaches: Recursive implementation, Iterative implementation and using STL functions.

Anuj Jhamb
Software Engineering

begin() and end() in Array C++ STL

In this article, we have explored begin() and end() functions in Array container of C++ STL in depth. We have covered the basic idea of iterators as well as both functions deal with iterators.

Rudrakshi Soni Rudrakshi Soni
Software Engineering

Different ways of Initializing multimap in C++

We have covered the different ways to initialize multimaps which includes inserting elements using make_pair, pair, initializer list, using another multimap, copy constructor and emplace_hint().

Harini Jeyaraman Harini Jeyaraman
Software Engineering

Sorting a 2 Dimensional (2D) vector in C++

In this article, we will explore different ways to sort a 2 dimensional (2D) vector in C++ which includes sorting by row, column, a specific row or a specific column.

Sahil Silare Sahil Silare
×

Visit our discussion forum to ask any question and join our community

View Forum
OpenGenus IQ © 2021 All rights reserved â„¢ [email: team@opengenus.org]
Top Posts LinkedIn Twitter