Kyle's Doxygen Test
This is just a test of Doxygen
|
Go to the source code of this file.
Macros | |
#define | MAGIC_NUMBER 1337 |
Magic number for magical computation. | |
Five Gods constants. | |
#define | MEW2KING 1 |
Five Gods constants. | |
#define | ARMADA 2 |
Five Gods constants. | |
#define | HUNGRYBOX 3 |
Five Gods constants. | |
#define | MANGO 4 |
Five Gods constants. | |
#define | PPMD 5 |
Five Gods constants. | |
Functions | |
int | square (int x) |
Squares a number. | |
int | multiply (int x, int y) |
Multiplies two numbers. | |
int | magic (int x) |
Function for magic math. | |
int | battleOfTheFiveGods () |
Multiplies all the gods together. | |
#define ARMADA 2 |
Five Gods constants.
These five constants represent the five gods.
Definition at line 21 of file utility.hpp.
#define HUNGRYBOX 3 |
Five Gods constants.
These five constants represent the five gods.
Definition at line 22 of file utility.hpp.
#define MAGIC_NUMBER 1337 |
Magic number for magical computation.
This number is selected to be the most elite number there is. No other numbers are more elite than this number.
Definition at line 10 of file utility.hpp.
#define MANGO 4 |
Five Gods constants.
These five constants represent the five gods.
Definition at line 23 of file utility.hpp.
#define MEW2KING 1 |
Five Gods constants.
These five constants represent the five gods.
Definition at line 20 of file utility.hpp.
#define PPMD 5 |
Five Gods constants.
These five constants represent the five gods.
Definition at line 24 of file utility.hpp.
int battleOfTheFiveGods | ( | ) |
Multiplies all the gods together.
This function just multiplies the five god constants together.
Definition at line 15 of file utility.cpp.
References ARMADA, HUNGRYBOX, MANGO, MEW2KING, and PPMD.
Referenced by testNumbers().
int magic | ( | int | x | ) |
Function for magic math.
This function multiplies a number by the magic number.
x | The number on which to perfom magic. |
Definition at line 11 of file utility.cpp.
References MAGIC_NUMBER.
Referenced by testNumbers().
int multiply | ( | int | x, |
int | y | ||
) |
Multiplies two numbers.
This function multiplies a number times another number and returns the result of those two numbers multiplied together. The result is the product of the two numbers, and that is the value that is returned by this function.
x | The first operand. |
y | The second operand. |
x
and y
. Definition at line 7 of file utility.cpp.
Referenced by Dog::run(), Dog::sleep(), and testNumbers().
int square | ( | int | x | ) |
Squares a number.
This function multiplies a given number by itself, which results in the square of that number.
x | The number to square. |
Definition at line 3 of file utility.cpp.
Referenced by testNumbers().