Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
36.8K+ articles
Python
21.3K+ articles
DSA
20.7K+ articles
Experiences
16.1K+ articles
Interview Experiences
14.2K+ articles
JavaScript
11.6K+ articles
School Learning
11.4K+ articles
Java
10.0K+ articles
Misc
8.4K+ articles
Mathematical
7.5K+ articles
misc-cpp
35 posts
Recent Articles
Popular Articles
How to Assign Negative Infinity in C++?
Last Updated: 28 May 2024
In C++, the infinity is written asinf. We get infinity as a result when a positive number is divided by a null value or when a value is much greater and cannot be stored i...
read more
C++ Programs
C++
Picked
CPP-Basics
CPP Examples
misc-cpp
What are the Rules for Using an Underscore in a C++ Identifier?
Last Updated: 29 May 2024
In C++, an identifier is a unique name that is used to define a variable, function, class or object, and etc in a program. It can consist of numbers, letters, and undersco...
read more
C++ Programs
C++
Picked
CPP-Basics
CPP Examples
misc-cpp
Type Qualifiers in C++
Last Updated: 07 June 2024
In C++, type qualifiers are keywords that modify the properties of data types, influencing how variables, pointers, or references can be used. These qualifiers enhance var...
read more
C++ Programs
C++
Picked
CPP-Basics
C++-const keyword
CPP Examples
misc-cpp
How to Get Time in Milliseconds in C++?
Last Updated: 28 May 2024
In programming measuring accurate time is a common requirement for most software development packages. In C++, we have the std::chrono library with various functions for d...
read more
C++ Programs
C++
Picked
CPP-Library
CPP Examples
misc-cpp
How to Pause a Program in C++?
Last Updated: 28 May 2024
Pausing programs in C ++ is an important common task with many possible causes like debugging, waiting for user input, and providing short delays between multiple operatio...
read more
C++ Programs
C++
Picked
CPP-Functions
CPP Examples
misc-cpp
How to Create a Dictionary in C++?
Last Updated: 15 October 2024
A dictionary is a data structure in python that enables users to store data in the form of key-value pairs, where each key must be unique. In this article, we will learn h...
read more
C++ Programs
C++
Picked
STL
cpp-map
CPP Examples
misc-cpp
How to Get Environment Variable in C++?
Last Updated: 28 May 2024
Environment variables are globally accessible named values that store information about the system environment where your code is executed. They are also used to store con...
read more
C++ Programs
C++
Picked
Misc C++
CPP Examples
misc-cpp
How to Use cin.fail() Method in C++?
Last Updated: 28 May 2024
In C++, thecin.fail()method is a part of iostreamlibrary that is used to check whether the previous input operation has succeeded or not by validating the user input.In th...
read more
C++ Programs
C++
Picked
cpp-input-output
CPP Examples
misc-cpp
Difference Between DWORD and Unsigned Int in C++
Last Updated: 28 May 2024
In C++, DWORD and Unsigned Int are commonly used data types to store non-negative integer values. Both the data types may appear similar but there are some important diff...
read more
C++ Programs
C++
Picked
cpp-data-types
CPP Examples
misc-cpp
How to Detect Keypress in Windows Using C++?
Last Updated: 28 May 2024
In Windows programming, detecting keypress events is a fundamental requirement for many applications like games, user interfaces, and many more. In this article, we will ...
read more
C++ Programs
C++
Picked
CPP Examples
misc-cpp
unique_lock or lock_guard: Which Is Better?
Last Updated: 08 May 2025
In C++, to manage access to shared resources, the STL (standard template library) of C++, provides synchronization mechanisms such as lock_guard and unique_lock. Both are ...
read more
C++ Programs
C++
Picked
cpp-multithreading
CPP Examples
misc-cpp
How to Swap Two Numbers Using Pointers in C++?
Last Updated: 28 May 2024
Swapping the values of two numbers is a very common operation in programming, which is often used to understand the basics of variables, pointers, and function calls. In t...
read more
C++ Programs
C++
Picked
CPP-Basics
CPP Examples
misc-cpp
Function Pointer to Member Function in C++
Last Updated: 28 May 2024
In C++, function pointers enable users to treat functions as objects. They provide a way to pass functions as arguments to other functions. A function pointer to a member ...
read more
C++ Programs
C++
Picked
Misc C++
CPP-OOPs
CPP Examples
misc-cpp
Difference Between .cc and .cpp File Extensions in C++
Last Updated: 29 May 2024
In C++, we use different file extensions to store our code. Two of the most common extensions are .cc and .cpp both store C++ codes. Although they both are used for the sa...
read more
C++ Programs
C++
Picked
C++ File Programs
CPP Examples
misc-cpp
How to Make a Countdown Timer in C++?
Last Updated: 29 May 2024
In C++, countdown timers are valuable components in various applications, aiding in scheduling events, controlling timeouts, or displaying the remaining time. In this arti...
read more
C++ Programs
C++
Picked
CPP-Functions
CPP Examples
misc-cpp
1
2
3
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !