Technical articles, tutorials and tips about servers, VPS, hosting and technology
354 published articles
Category: C/C++

The stack is one of the data structures used for various purposes in computing. It is considered a LIFO (Last in, First out) data...

In this short post, I'll show you how to delete a file using the C language. To delete a file we use the delete("file_name") funct...

In this article we'll talk about operating file functions in C, opening a file, closing a file, the getw and putw functions, the f...

You will learn how to use the switch command in C to execute a block of code based on a multiple choice selection. Below is an exa...

The Fibonacci sequence is given in the following order [latex] Fibonacci = 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55 . . .[/latex]. The...

Below is an example of a base program in OpenGL, resulting in a window with a red triangle in the center. [c] #include <stdlib.h>...

___________________________________________________________________________ Standard Function Names For ease of use, the names of...

According to [Scheiner,2004], OpenGL provides a set of very important commands for modeling and visualizing geometric objects. How...

Global variables are variables declared outside a function, unlike local variables which are declared inside a function. #include...

There are three ways to reserve memory space for the storage of information: Use of global variables – the placeholder exists as l...

Pointer is a C language feature that consists of: Pointing to or accessing memory addresses. Access variables that are not accessi...

Simple C program that calculates the factorial of any number: #include int main() { int fat, n; printf("Enter a value for which yo...