diff --git a/Headers/Morse.hpp b/Headers/Morse.hpp index 9b66ee9..da78e0a 100644 --- a/Headers/Morse.hpp +++ b/Headers/Morse.hpp @@ -15,7 +15,7 @@ class Morse{ private: //Holds the Morse representation of the alphanumeric characters - const std::string Morse::code[36] {".-", "-...", "-.-.", "-..", ".", "..-.", "--.", "....", "..", ".---", "-.-", ".-..", //A-L + const std::string code[36] {".-", "-...", "-.-.", "-..", ".", "..-.", "--.", "....", "..", ".---", "-.-", ".-..", //A-L "--", "-.", "---", ".--.", "--.-", ".-.", "...", "-", "..-", "...-", ".--", "-..-", "-.--", "--..", //M-Z "-----", ".----", "..---", "...--", "....-", ".....", "-....", "--...", "---..", "----."}; //0-9 std::stringstream inputString; //The string that needs encoded/decoded