Skip to content

Bala-K3/Morse-Code-Translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”— Description: This is a simple C++ program that converts English text into Morse code. It supports alphabets, numbers, and spaces, ensuring accurate translation.

๐Ÿš€ Features โœ” Converts text to Morse code โœ” Supports A-Z, 0-9, and spaces โœ” Validates user input to allow only alphanumeric characters

๐Ÿ“‚ Installation

1๏ธโƒฃ Clone the repository: git clone https://github.com/Bala-K3/Morse-Code-Translator.git

2๏ธโƒฃ Navigate to the project directory: cd MorseCode-Translator

3๏ธโƒฃ Compile the C++ code using g++ (for Linux/macOS) g++ MorseCode.cpp -o MorseCode

4๏ธโƒฃ Run the executable: ./MorseCode

For Windows: g++ MorseCode.cpp -o MorseCode.exe

MorseCode.exe

๐Ÿ›  Tech Stack ๐Ÿ”น C++ โ€“ Core programming language ๐Ÿ”น STL (unordered_map) โ€“ Used for Morse code mapping

๐ŸŽฏ How to Use 1๏ธโƒฃ Run the program. 2๏ธโƒฃ Enter an English text input (A-Z, 0-9, or spaces). 3๏ธโƒฃ The program will output the Morse code equivalent.

๐Ÿ“ Example Input: HELLO 123 Output: .... . .-.. .-.. --- / .---- ..--- ...-- ๐Ÿค Contributing Feel free to fork this repository and submit pull requests if you'd like to add new features!

๐Ÿ“œ License This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages