Results 1 to 2 of 2

Thread: Contest 13: Morse Code Translator - [2kaud]

  1. #1

    Thread Starter
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    996

    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)

  2. #2
    Fanatic Member Peter Porter's Avatar
    Join Date
    Jul 2013
    Posts
    532

    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
  •  



Click Here to Expand Forum to Full Width