Digital Trends

install opengl freeglut in dev cpp
Digital Trends

How to install OpenGL freeglut in Dev C++

In this article, you will learn how to download and install OpenGL freeglut in Dev c++. OpenGL (Open Graphics Library) API is a set of functions that are used to render 2D and 3D vector graphics. You can use it in computer-aided designs, gaming, virtual reality, etc. Where to download OpenGL freeglut? You can download … Read more

swap two numbers in cpp
Digital Trends, Programs

C++ program to swap two numbers

In this example, you will learn a C++ program to swap two numbers. This program takes two numbers from the user like 2 and 5 and swaps them. After the swap, the first number 2 becomes 5 and the second number 5 becomes 2. Example: C++ program to swap two numbers Output Description and working of … Read more

File handling in cpp
Digital Trends, Tutorials

C++ File Handling

C++ File handling is used to store, input, and output data permanently on secondary memory.Normally, program data are stored in variables. When the program execution ends all the stored data and computational results are destroyed because data in variables are temporary.The user has to input data each time when the program executes which refers to … Read more

built in function in cpp
Digital Trends, Tutorials

C++ Built-in Functions

C++ Built-in functions are the ready-made library functions. These are the part of the c++ programming language. C++ offers a large number of built-in library functions to solve programming problems faster and easier. There are many libraries in c++ with have different sets of functions like iostream, cmath, ctime, etc. We don’t need to declare … Read more

if statement in cpp
Digital Trends, Tutorials

C++ If-else Statements

C++ If-else statements in c++ are the conditional statements. They are used to decide which part or code block of the program will be executed according to the pre-defined conditions true or false.  Relational operators are used to specify the conditions in c++. There are many ways to use if-else statements in C++ like if, … Read more

Scroll to Top