-
Jul 18th, 2018, 08:10 AM
#1
Contest 13: Morse Code Translator - [2kaud]
This is the fiddle http://coliru.stacked-crooked.com/a/0876f36c2ffcbd09
The code does morse to text and text to morse and back to text. For conversion from text to morse and back to text start the input with a [
For morse to text:
- each letter is separated by a space
- each word is separated by a tab (\t)
- ; is converted to the end punctuation symbol full-stop (.)
If a morse sequence is not recognised then a # is displayed in the converted text and translation continues with the next letter/word.
If there are issues getting this entry judged because it is c++ (as was the case for the last competition), please feel free to ignore this entry and judge the others. Don't hold up judging awaiting a judgement for this entry.
All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/
C++23 Compiler: Microsoft VS2022 (17.6.5)
-
Jul 27th, 2018, 03:32 PM
#2
Re: Contest 13: Morse Code Translator - [2kaud]
I've just submitted my entry. Too bad I can't test out yours.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|