Need help with solving a task

Jan 29, 2016 at 12:38pm
Write a program that reads from the standard input a text in English and outputs in the standard output the same text encoded in Morse code. The program must have the following features:

It reads text in English from the standard input. The text is composed by Latin letters, decimal numbers and punctuation (full stop'.', question mark '?', exclamation mark '!').
The text is transformed character by character to Morse code, and the corresponding code is displayed in the standard output. For the correspondence between letters, numbers, punctuation, and their Morse code.
The program also represents the Morse code as sound using the PC speakers. For sound representation.
Technical requirements: The program must contain at least one class, implemented in a separate header and source file.


Could someone please send me the full source code . Thanks a lot !
Last edited on Jan 29, 2016 at 12:43pm
Jan 29, 2016 at 12:58pm
This particular piece of your homework has already been done by many of your predecessors. Search for it. You'll find things like: http://stackoverflow.com/questions/27467211/english-to-morse-converter
Jan 29, 2016 at 1:12pm
Thanks
Topic archived. No new replies allowed.