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 <stdio.h> // pro funkcnost printf(), prip. scanf() #include <stdlib.h> // pro funkcnost srand() a rand() #include <time.h> // pro funkcnost time() int main () { int c; printf ("Hazim kostkou...\n"); srand (time (NULL)); c = rand () % 6 + 1; switch (c) { case 1: printf ("padla jednicka"); break; case 2: printf ("padla dvojka"); break; case 3: printf ("padla trojka"); break; case 4: printf ("padla ctyrka"); break; case 5: printf ("padla petka"); break; case 6: printf ("padla sestka"); break; } 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