online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> #define if(x) if (x) #define do { #define elif(x) } else if (x) { #define otherwise } else { #define done } void fun(int x) { if(x==0) do puts("Foo"); elif(x==1) puts("Bar"); elif(x==2) puts("Foobar"); otherwise puts("Else"); done } int main(void) { for(int i=0; i<4; i++) fun(i); if(0) do puts("Works"); done if(1) do puts("No"); otherwise puts("Yes"); done if(1) do puts("haha"); elif(1) puts("hohoho"); done if(0) do puts("hehe"); elif(0) puts("hehe"); elif(1) puts("yes"); done }

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