Pure Programmer
Blue Matrix


Cluster Map

Project: Morse Code

Write a program that converts a text message passed from the command line into [[Morse_code|Morse code]]. Use a Unicode Middle Dot (U+00B7) for dots and a Unicode Minus Sign (U+2212) for dashes. Use a space to separate letters and three spaces to separate words.

Output
$ swiftc MorseCode.swift -I . -L . -lUtils error: link command failed with exit code 1 (use -v to see invocation) ld: library not found for -lUtils clang: error: linker command failed with exit code 1 (use -v to see invocation) $ swiftc MorseCode.swift -I . -L . -lUtils error: link command failed with exit code 1 (use -v to see invocation) ld: library not found for -lUtils clang: error: linker command failed with exit code 1 (use -v to see invocation)

Solution