RE: Programming Challenge - Morse Code Cipher 02-26-2014, 11:51 PM
#7
I'll post my response, it's the whole reason I joined :whistle: I'm waiting for some sort of criticism for using VB.NET..
Anyways, here are my variables:
![[Image: fS.png]](http://www.lensert.com/fS.png)
Here's what the MorseDict class looks like:
![[Image: mS.png]](http://www.lensert.com/mS.png)
Creating the dictionary:
![[Image: nS.png]](http://www.lensert.com/nS.png)
Here's the code for converting to morse:
![[Image: hS.png]](http://www.lensert.com/hS.png)
Here's the code for converting from morse:
![[Image: iS.png]](http://www.lensert.com/iS.png)
Here it is working:
![[Image: jS.png]](http://www.lensert.com/jS.png)
![[Image: kS.png]](http://www.lensert.com/kS.png)
And finally, here's the source: http://pastebin.com/rjPDkMNF
If you're interested, here's the program: Download (13KB) | Virus Scan (1/47) <-- Not sure how that happened.
Anyways, here are my variables:
![[Image: fS.png]](http://www.lensert.com/fS.png)
Here's what the MorseDict class looks like:
![[Image: mS.png]](http://www.lensert.com/mS.png)
Creating the dictionary:
![[Image: nS.png]](http://www.lensert.com/nS.png)
Here's the code for converting to morse:
![[Image: hS.png]](http://www.lensert.com/hS.png)
Here's the code for converting from morse:
![[Image: iS.png]](http://www.lensert.com/iS.png)
Here it is working:
![[Image: jS.png]](http://www.lensert.com/jS.png)
![[Image: kS.png]](http://www.lensert.com/kS.png)
And finally, here's the source: http://pastebin.com/rjPDkMNF
If you're interested, here's the program: Download (13KB) | Virus Scan (1/47) <-- Not sure how that happened.







![[+]](https://sinister.li/images/modern/collapse_collapsed.png)