online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
// Morse code program using System; using System.IO; public class Program { // ------------------------- // Subprograms // ------------------------- static string translate(string morse) { switch (morse) { case ".-": return "A"; case "-...": return "B"; case "-.-.": return "C"; case "-..": return "D"; case ".": return "E"; case "..-.": return "F"; case "--.": return "G"; case "....": return "H"; case "..": return "I"; case ".---": return "J"; case "-.-": return "K"; case ".-..": return "L"; case "--": return "M"; case "-.": return "N"; case "---": return "O"; case ".--.": return "P"; case "--.-": return "Q"; case ".-.": return "R"; case "...": return "S"; case "-": return "T"; case "..-": return "U"; case "...-": return "V"; case ".--": return "W"; case "-..-": return "X"; case "-.--": return "Y"; case "--..": return "Z"; default: return " "; } } static string read_morse(string filename) { } // ------------------------- // Main program // ------------------------- static void Main() { string message = read_morse("message.txt"); Console.WriteLine(message); } }
- .... . / --.- ..- .. -.-. -.- / -... .-. --- .-- -. / ..-. --- -..- / .--- ..- -- .--. ... / --- ...- . .-. / - .... . / .-.. .- --.. -.-- / -.. --- --.
... .- -- ..- . .-.. / -- --- .-. ... . / .-- .- ... / .- -. / .- -- . .-. .. -.-. .- -. / .--. .- .. -. - . .-. / .- -. -.. / .. -. ...- . -. - --- .-. / .-- .... --- / .. ... / -... . ... - / .-. . -- . -- -... . .-. . -.. / - --- -.. .- -.-- / ..-. --- .-. / .... .. ... / .. -. ...- . -. - .. --- -. / --- ..-. / - .... . / ... .. -. --. .-.. . / .-- .. .-. . / - . .-.. . --. .-. .- .--. .... / ... -.-- ... - . -- / .- -. -.. / -- --- .-. ... . / -.-. --- -.. .

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue