Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 524 Bytes

README.md

File metadata and controls

7 lines (7 loc) · 524 Bytes

MorseCode

Morse Code API - a library created in C++ that converts text to Morse code. A hash map was used to link each character to the corresponding string of dashses and periods in Morse Code. In the class constructor the hash map is initialized. The hash map provides constant time look up - O(1). Furthermore, the 'getMorseCode()' returns the converted text to Morse code which can then be used in other parts in your desired application. In the repository MorseCode.cpp and MorseCode.h are available for download.