Math and others

Example of overloading the + operator in C++(Chain Concatenation)

Cstring class that supports string concatenation, ie, that joins the contents of 2 strings and adds them to another target…

Read More »

Prime Number Detector in C++

Program that determines if an entered number is a prime number. Programa que determina si un número ingresado es un…

Read More »

Example of object-oriented programming in C++ (Bouncing Balls)

A simple example of OOP (Object Oriented Programming), in which like some balls bouncing on the limits of our screen…

Read More »

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 »

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 »

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 »

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 »

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 »

Greatest Common Divisor in C++

Function to solve the greatest common divisor of a group of numbers Developed by: JOSE LUIS DE LA CRUZ LAZARO…

Read More »

Lectura de Números – Español in C++

This program reads an integer and returns its equivalent in letters. Exm: If I entered 3465, the program returns “three…

Read More »
Back to top button