C++

C++ Language

Graphics

Example of using the mouse in C++ WinBGI graphical mode (Mouse BGI), using graphics.h BGI library

Utility that allows to see the mouse cursor in bgi mode either in 16 colors or 256 colors, also uses…

Read More »
Graphics

Calculate and plot the Fourier series of a function in C++, using graphics.h BGI library

It transforms a periodic function f(t), to its respective Fourier series (The same function but represented in an infinite sum…

Read More »
Fractals

Mandelbrot fractal explorer in C++ (DMandel), using graphics.h BGI library

At the request of several friends, I upload this program that diagrams the Mandelbrot set, using a short, simple and…

Read More »
Graphics

Draw Electric Potential in C++, using graphics.h BGI library

It plots the distribution of potentials between two parallel plates atdifferent potentials, like a capacitor. Using a recursive algorithminstead of…

Read More »
Graphics

How to Draw a PCX image in C++ (PCXBGI), using graphics.h BGI library

LOAD A PCX ON SCREEN using the WinBGIDLL library. Advantages: 5 resolution modes: 320×200, 640×400, 640×480, 800×600 and 1024×768. Works…

Read More »
C++ Programming Gallery

Tic Tac Toe 3D – Gato 3D game in C++, using graphics.h BGI library

TIC-TAC-TOE game on A 4x4x4 cube This is the famous cat game but in 3 dimensions (in a 4x4x4 cube),…

Read More »
Math and others

Calculates all real and complex roots of a polynomial of degree n in C++ (NROOTS)

Calculates all real and complex roots of a polynomial of degree n The algorithm is simple: just find any root…

Read More »
Graphics

Gamma function plotter in C++, using graphics.h BGI library

Plot Euler’s gamma(x) function, you can also use the gamma(x) function to calculate the gamma of any number. It also…

Read More »
Math and others

Text encryptor and decryptor in C++

A program that encrypts an ACSII text document, using the Gaussian function Pi(x) and the function Primo(n). Where: Pi(x) is…

Read More »
Fractals

Fractal explorer in C++ (Fractal X), using graphics.h BGI library

Mandelbrot’s Beetle Fractal Plotter Graphics the mandelbrot set in a resolution of 320x200x256, has mouse zoom, fractal animation with color…

Read More »
Back to top button