I have made a program to take in morse code in two forms with two types of formatting as follows;
"."s and "-"s with "/"s to show the end of each character and spaces to show the end of each word
1s and 0s with "/"s to show the end of each character and "//" to show the end of each word
This all working fine, albeit probably not the most efficient program ever (its my first go at it). However the input text is cut up to fixed length lines and my program needs continous text.
eg
1010/1111/11
0/111/1010/1
11/10/1010/1
01/1010
instead of
1010/1111/110/111/1010/111/10/1010/101/1010
any suggestions on how i can get it to remove the spaces? when its in binary i can probably just get it to remove the spaces. when its in morse i cant let it do that because ill lose the ends of words.
Any suggestions? nothing complex please.