From 6030df2c8fcb047c342aa8156af82479d6f8cb20 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 6 Apr 2014 21:58:39 +0100 Subject: Made echoed characters all uppercase --- morse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morse.cpp b/morse.cpp index 95c5114..ae0e391 100644 --- a/morse.cpp +++ b/morse.cpp @@ -32,7 +32,7 @@ void transmit(const string& str) tmp=toupper(ch); string morse=table[tmp]; if(morse!="") - cout << ch << ": " << flush; + cout << toupper(ch) << ": " << flush; for(unsigned int j=0;j