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
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.2K+ articles
C++
4.3K+ articles
Difference Between
3.7K+ articles
C++ Programs
2.4K+ articles
PHP-basics
94+ articles
C++ 20
24+ articles
Misc C++
12 posts
Recent Articles
Popular Articles
Difference between C++ and PHP
Last Updated: 07 October 2020
1. C++ :C++ was developed by Bjarne Stroustrup at Bell Labs since 1979 as an extension of the C language C++ is a general purpose programming language and widely used now ...
read more
Difference Between
C++
Misc C++
PHP-basics
How to Compare Float and Double While Accounting for Precision Loss?
Last Updated: 29 January 2024
In C++ programming, real numbers are represented in a limited amount of memory so accuracy loss is a frequent worry when dealing with floating-point and double numbers in ...
read more
C++ Programs
C++
Picked
CPP-Basics
Misc C++
CPP Examples
#define in C++
Last Updated: 20 January 2025
In C++, #define is a preprocessor directive used to define a macro. Macros are a way to represent a fragment of code or a constant value by giving it a name. When the prep...
read more
C++
Picked
Misc C++
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
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
When and Why Will a Compiler Initialize Memory to 0xCD, 0xDD, etc. on malloc/free/new/delete?
Last Updated: 12 June 2024
In C and C++, understanding how memory is managed is very important. Efficient memory management ensures that programs run smoothly without any leaks and crashes. However,...
read more
C++ Programs
C++
Picked
Misc C++
C++ Errors
CPP Examples
How to Compile C++ Code in macOS ?
Last Updated: 05 June 2024
Compiling a C++ code means translating the program from the human-readable form (high-level language) to something a machine can “understand” (machine language) so that th...
read more
C++ Programs
C++
Picked
Misc C++
CPP Examples
std::chrono::day in C++ 20
Last Updated: 04 June 2024
In C++, the ctime header provides the std::chrono::day class that represents a day in the given month. In this article, we will learn how to use the std::chrono::day class...
read more
C++ Programs
C++
Misc C++
C++ 20
How to Create a Dynamic Library in C++?
Last Updated: 07 June 2024
In C++, dynamic libraries also known as shared libraries are a powerful way to modularize your code. They allow the users to build libraries that can be loaded at runtime ...
read more
C++
Picked
Misc C++
CPP Examples
How to Convert C# Codes to C++?
Last Updated: 06 June 2024
C# and C++ both are powerful object-oriented languages but they have different syntaxes, libraries, and paradigms. Conversion of code between them involves more than just ...
read more
C++ Programs
C++
Picked
Misc C++
CPP Examples
exit(1) in C++
Last Updated: 12 June 2024
In C++, the exit function allows the users to terminate the execution of a program immediately and return the control to the operating system. In this article, we will lea...
read more
C++ Programs
C++
Picked
Misc C++
CPP Examples
Can I Mix C and C++ Code in the Same Project?
Last Updated: 14 May 2024
C and C++ both are very popular programming languages. There can be many situations when you might have to export some functionalities that are written in C programming la...
read more
C++ Programs
C++
Picked
Extern "C"
C-Misc
Misc C++
CPP Examples
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 !