Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Morse Code Translator!
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
SAYMAN




PostPosted: Tue Oct 27, 2015 11:33 am   Post subject: Morse Code Translator!

I have to use arrays and the hsa template to created a Morse to English and vise versa translator i have gotten the English to Morse to work but I can't figure out how to get it to go from Morse to English. any help would be appriciated


Morse_Code.java
 Description:

Download
 Filename:  Morse_Code.java
 Filesize:  3.39 KB
 Downloaded:  249 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
tiedye1




PostPosted: Fri Oct 30, 2015 2:44 am   Post subject: Re: Morse Code Translator!

Consider looking into the split() function. It'll allow you to split up the encoded string by any delimiter you want (commas in your case), its puts the resultant strings into an array so you can easily process them.
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: