online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <cstdio> #include <ctime> int main () { time_t t; int d; printf ("Hello 1\n"); time (&t); d = t; while (t - d < 3) /*wait 3 seconds */ { time (&t); } printf ("Hello 2\n"); time (&t); d = t; while (t - d < 3) /*wait 3 seconds */ { time (&t); } printf ("Hello 3\n"); 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