online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#!/bin/sh demo() { A=$1 while [ -n "$A" ]; do case $A in 1) echo "QUICK" A=2 # Falls through to next case ;; 2) echo "BROWN" A=3 # Falls through to next case ;; 3) echo "FOX" A=4 # Falls through to next case ;; 4) echo "JUMPED" A="" # Acts like break ;; 5) echo "FOO" A=6 # Falls through to next case ;; 6) echo "BAR" A="" # Acts like break ;; esac done } demo 1 echo "--------" demo 2 echo "--------" demo 3 echo "--------" demo 4 echo "--------" demo 5 echo "--------" demo 6

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