|
-
December 8th, 2005, 05:57 PM
#1
Microsoft Visual Studio .NET Morse Code
hi,
char MorseData[] = ".- -...-.-.-.. . ..-."\
"--. ...... .----.- .-.."\
"-- -. --- .--.--.-.-. "\
"... - ..- ...-.-- -..-"\
"-.----.. ";
i have four space for each morse code for e.g. A is ".- "
i try to use pointers to allocate morse to a-z but still i can't make it work..
The program must use one of the character strings above and should include a function to accept a letter and return the equivalent Morse code for the letter.
i need to use pointers to get each morse all the morse code will be same size four space..
i try to use this functions :
strcpy(string1, string2) the prototypes are held in string.h
i try to converted into its integer ASCI code by a simple arithmetic operation.
but still i can't it to work.. please help with this i real need help..
thank's
Last edited by hello2001; December 22nd, 2005 at 09:25 AM.
Reason: error
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|