online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> #include <string.h> int main() { char str[] = "Lorem ipsum dolor sit ipsum amet consectetuer ipsum fringilla."; char substr[] = "ipsum"; int len = strlen(str); int sublen = strlen(substr); for (int i = 0; i <= len - sublen; i++) { int j; for (j = 0; j < sublen; j++) if (str[i + j] != substr[j]) break; if (j == sublen) printf("Position %d\n", 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