Housing Watch Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. python - morse code to english python3 - Stack Overflow

    stackoverflow.com/questions/32094525

    I know this is an old question but in the tradition of open source I wrote code to implement the fact that Morse is a binary tree and this may be faster than using a dictionary: class node: def __init__(self, char): self.dot = None. self.dash = None. self.alpha = char. def __str__(self): return self.alpha. def nextNode(self, basenode, char):

  3. java - Morse code translator (simple) - Stack Overflow

    stackoverflow.com/questions/29706653

    Once found use the same index from english in morse. I am assuming english and morse have same length and morse[0] is the translation of english[0] in morse code. userInput = userInput.toCharArray(); for (index = 0; index < userInput.length; index++) {. for (int i = 0; i < english.length; i++) {.

  4. c++ - English to Morse Converter - Stack Overflow

    stackoverflow.com/questions/27467211

    I've been working on a program that is supposed to convert english to morse code. I am having a really hard time dealing with the strings. For example I have no clue why I can have morseAlphabet have a set number of positions at [30] but I cannot do the same for latinAlphabet. Overall I have no clue how I am supposed to translate the words.

  5. What you are doing here is you are not splitting the code into letters using " " as the separator. Try this, string convertToEnglish(string morse, string const morseCode[], string const alpha[]) {. string output; string compile; string currentCodeLetter; int totalMorseCode=38; string str = morse;

  6. I'm trying to do a morse code-English both ways translator import java.util.Scanner; public class ...

  7. I recently had an assignment to convert English to Morse code and Morse Code to English. When inputting Morse Code, my teacher wants individual letters separated with 1 space, and words separated by a '|'. For example, - --- | -... . is "to be." I was able to get the English to Morse working perfectly, but I am at a loss for Morse to English.

  8. Morse Code conversion to English - adding a space

    stackoverflow.com/questions/74369682/morse-code-conversion-to-english-adding-a...

    I'm working on a morse code conversion from morse code to english. I'm stuck on one part, I need to be able to add in space when 2 spaces appear in a row on the morse code, but i'm unsure how to do this. The Rule is, Each letter appears after a space in the morse code, each space appears after 2 spaces in the morse code.

  9. ch=azarray+a; return ch; } the function keyread is supposed to split the morse string into 4 chars and pass that to the morse2english function which is supposed to find the alphabetical representation of the morse code and return it to the keyread function and add it to string4. c. pointers. loops.

  10. encoder - Morse Code Converter in C - Stack Overflow

    stackoverflow.com/questions/28045172

    You'll need to start with the binary tree parsed in preorder, find the index of the letter you want to encode to morse, convert that to binary, ignore the first digit, and then just assign the zeros to dots, and the ones to dashes. It's really simple. A C implementation example. Also there is a full code example here.

  11. C++ Morse to english - Stack Overflow

    stackoverflow.com/questions/59013166

    So far I have done the English text to morse code and I am currently stuck on morse code to english text. I tried doing the same thing as the English to morse but I learned the hard way that it doesn't help, and I dont know where to start. I have been stuck like this for a long time, any advice on how to do this would be greatly appreciated please.