online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
def decorator(function): def wrapper(x): result = function(x) return result if result >= 0 else 1 / result return wrapper @decorator def f(x): return x - 3 print(f(4)) print(f(3)) print(f(0))

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