online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int b; // Store truth value of last if or elif #define if(x) for(;b = (x);) #define do { #define elif(x) break; } for(; !b ? b=(x) : 0;) { #define else break; } for(;!b;) { #define done break; } void fun(int x) { if(x==0) do puts("Foo"); elif(x==1) puts("Bar"); elif(x==2) puts("Foobar"); else puts("Else"); done } int main(void) { for(int i=0; i<4; i++) { printf("%d\n", i); fun(i); } }

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