Inheritance diagram for GgtExercise:
Public Methods | |
GgtExercise (string name) | |
Protected Methods | |
int | execute () |
void | getInput () |
Static Private Methods | |
int | ggt (int a, int b) |
Private Attributes | |
int | fA |
int | fB |
© Bernhard Wagner, xmlizer.biz, 2002.
Definition at line 13 of file GgtExercise.cpp.
|
Constructor.
Definition at line 21 of file GgtExercise.cpp. |
|
Executes this exercise. To be overridden in subclasses. (Hook Method)
Reimplemented from AbstractExercise. Definition at line 68 of file GgtExercise.cpp. |
|
Gets the input for this exercise. To be overridden in subclasses. (Hook Method) Reimplemented from AbstractExercise. Definition at line 61 of file GgtExercise.cpp. |
|
Calculates the gcd of two integers.
Definition at line 73 of file GgtExercise.cpp. Referenced by execute(). |
|
Definition at line 50 of file GgtExercise.cpp. Referenced by execute(), and getInput(). |
|
Definition at line 51 of file GgtExercise.cpp. Referenced by execute(), and getInput(). |