online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/****************************************************************************** Online C++ Compiler. Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <iostream> #include <cstring> #define byte char int main() { char *EAX = (char *)malloc(6); memset(EAX, 0, 6); strcpy(EAX, "AT4RE"); int i=0; while(i<6) { printf("%x-",*(EAX+i)); i++; } printf("\n"); int ECX = 0; do { EAX = ECX + EAX; *EAX = *EAX ^ 0x89ABCDE; *(byte *)EAX = *(byte *)EAX & 0xE; ECX = ECX + 0x4; } while(ECX < 8); i=0; while(i<6) { printf("%x-",*(EAX+i)); i++; } return 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