X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=morse.c;fp=morse.c;h=e535e6f3f6302fee55712d7240acae4828b8c252;hb=c95e95333f93130886fa49231679a02256cfdcef;hp=5f3f58941b3d13377ef7539adf2ade624a63747a;hpb=bd5bcb193b135b4fba7e23e443cd6c27b16d22b8;p=bin.git diff --git a/morse.c b/morse.c index 5f3f589..e535e6f 100644 --- a/morse.c +++ b/morse.c @@ -7,14 +7,17 @@ #include #include -const char *aa[] = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", - "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "1", - "2", "3", "4", "5", "6", "7", "8", "9", "0", " "}; +const char *aa[] = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", + "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", + "u", "v", "w", "x", "y", "z", "1", "2", "3", "4", + "5", "6", "7", "8", "9", "0", " "}; -const char *ma[] = {"•-", "-•••", "-•-•", "-••", "•", "••-•", "--•", "••••", - "••", "•---", "-•-", "•-••", "--", "-•", "---", "•--•", "--•-", "•-•", "•••", - "-", "•--", "•••-", "•--", "-••-", "-•--", "--••", "•----", "••---", "•••--", - "••••-", "•••••", "-••••", "--•••", "---••", "----•", "-----", " "}; +const char *ma[] = {"•-", "-•••", "-•-•", "-••", "•", "••-•", "--•", + "••••", "••", "•---", "-•-", "•-••", "--", "-•", + "---", "•--•", "--•-", "•-•", "•••", "-", "•--", + "•••-", "•--", "-••-", "-•--", "--••", "•----", + "••---", "•••--", "••••-", "•••••", "-••••", + "--•••", "---••", "----•", "-----", " "}; void convert(char *c)