online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> #include <unistd.h> #include <time.h> #define C (c%'\r'?(c^9):c) struct tm * now (void) { usleep (200000); time_t t = time (NULL); return localtime (&t)->tm_wday; } int main () { char c = '\r' + '\r' + '\r'; setbuf (stdout, NULL); while (now () > 4) { printf ("\r%c%c%c%c%c%c", C + 1, c, C + 2, C + 1, c ^= 9, C + 2); } }

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