aspose file tools* The moose likes Beginning Java and the fly
likes converting morse code to english Big Moose Saloon Register
/ Login JavaRanch » Java Forums » Java » Beginning Java Bookmark
"converting morse code to english" Watch "converting morse code
to english" New topic  converting morse code to english  Khair
Bahir  Joined: Aug 01, 2011 Posts: 14 I'm trying to set up a
morse code-english converter by prompting the user for
morse-->english translation or english--> morse translation,
prompting the user to enter the text to be translated, and then
finally translating it. So far, I've been able to do
english-->morse code translations because that just involves
encoding each individual letter. I'm having trouble with
morse-->english translations though because that doesn't just
involve decoding each individual character. The problem I'm
having is I don't want the program to convert each individual
dash and period to a letter, but rather a string of dashes and
periods to a letter (..-. = f). I also want "|