diff options
| author | Franklin Wei <frankhwei536@gmail.com> | 2014-04-06 21:58:39 +0100 |
|---|---|---|
| committer | Franklin Wei <frankhwei536@gmail.com> | 2014-04-06 21:58:39 +0100 |
| commit | 6030df2c8fcb047c342aa8156af82479d6f8cb20 (patch) | |
| tree | 405b85d39e3adba2d24e4f1c82131e9f0a9ca24b /morse.cpp | |
| parent | 65a78c58a4923e9d426d6c2ed16f4267c01e183f (diff) | |
| download | pish-6030df2c8fcb047c342aa8156af82479d6f8cb20.zip pish-6030df2c8fcb047c342aa8156af82479d6f8cb20.tar.gz pish-6030df2c8fcb047c342aa8156af82479d6f8cb20.tar.bz2 pish-6030df2c8fcb047c342aa8156af82479d6f8cb20.tar.xz | |
Made echoed characters all uppercase
Diffstat (limited to '')
| -rw-r--r-- | morse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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<morse.length();++j) { char morseCh=morse[j]; |