C++

C++ Language

Math and others

Random number generator in C++ (Aleator)

Three different ways to define a function that returns random numbers, in the same style as the random function. This…

Read More »
Math and others

Sudoku Magic Square in C++

Solution to the classic mathematical problem of the magic square (odd order). For those who do not know what it…

Read More »
Math and others

Roman to Arabic Numbers Converter in C++

Converts a Roman numeral to an Arabic numeral (ordinary numbering). ROMTOARA:Converts a Roman numeral to an Arabic numeral (ordinary numbering).…

Read More »
Math and others

Towers of Hanoi in C++

Classic hanoi towers algorithm solved by means of a recursive function. Developed by: JOSE LUIS DE LA CRUZ LAZARO YACSHA…

Read More »
Graphics

Plotting Mathematical Functions, 2d function plotter in C++ (Graf XY), using graphics.h BGI library

Plots points of a two-dimensional function (y = f(x)) on the screen, in the specified region of the Cartesian plane.…

Read More »
Math and others

A C++ class for addition, difference, multiplication and inversion of matrices (CMatrix)

This example shows how to use the powerful CMatriz class to work with matrices. And show how this class can…

Read More »
Graphics

Musical Keyboard in C++, using graphics.h BGI library

A musical keyboard is simulated using the computer keyboard. Most important features: The keyboard is drawn on the screen, using…

Read More »
Graphics

Sheet Music Player in C++, using graphics.h BGI library

Allows you to read a score from a txt file with the format of the QBASIC play function, and then…

Read More »
Math and others

Plot Conics, Circle, Parabola, Ellipse, Hyperbola (Conics) in C++, using graphics.h BGI library

Program that graphs conics in their general form ( AX^2+ BXY+CY^2+DX+EY+F = 0), that is to say parabolas, ellipses, hyperbolas,…

Read More »
Graphics

Plotting Mathematical Functions, 3d function plotter in C++(Graf 3D) Example 3, using graphics.h BGI library

3D FUNCTION PLOTTER Rotates a 3D surface z=f(x,y) randomly around each of the three axes (X,Y,Z), modeling this function as…

Read More »
Back to top button