diff --git a/Dokumentation/Hazard_Bericht.docx b/Dokumentation/Hazard_Bericht.docx index c7f38c7..986e218 100644 Binary files a/Dokumentation/Hazard_Bericht.docx and b/Dokumentation/Hazard_Bericht.docx differ diff --git a/Hazard/Hazard/Tools.h b/Hazard/Hazard/Tools.h index 87210ef..7d95cc2 100644 --- a/Hazard/Hazard/Tools.h +++ b/Hazard/Hazard/Tools.h @@ -6,10 +6,10 @@ class Tools { public: - static char* Tools::BinaryToChars(uint x, char length); // convert a number to a string in it's binary representation + static char* Tools::BinaryToChars(uint x, char length); // convert a number to a string in its binary representation static uint GrayToBinary(uint x); // convert a gray number back to binary using a lookup table - static bool compareAsGray(uint a, uint b); // compary towo gray numbers (convert it first) + static bool compareAsGray(uint a, uint b); // compary two gray numbers (convert it first) private: static uint* GrayToBinaryTable; // gray to binary lookup table static uint GrayToBinaryTableSize; // size of GrayToBinaryTable