online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdlib.h> #include <stdio.h> #include <string.h> typedef struct foo_t{ char *strA; char *strB; char *strC; int x; } foo; int main() { char *str1 = "Hello World"; char *str2 = "foo"; char *str3 = "Kolmongorov complexity"; foo *point = malloc(sizeof(foo)); point->x = 100000; point->strA = calloc(strlen(str1)+1, sizeof(char)); point->strB = calloc(strlen(str2)+1, sizeof(char)); point->strC = calloc(strlen(str3)+1, sizeof(char)); strcpy(point->strA, str1); strcpy(point->strB, str2); strcpy(point->strC, str3); free(point->strA); free(point->strB); free(point->strC); free(point); 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