online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby, C#, OCaml, VB, Perl, Swift, Prolog, Javascript, Pascal, COBOL, HTML, CSS, JS Code, Compile, Run and Debug online from anywhere in world. *******************************************************************************/ #include <stdio.h> #include <stdint.h> uint8_t licznik = 0; int8_t skladnik = 8; static inline uint8_t MAX(uint8_t a, uint8_t b) { return((a) > (b) ? a : b); } static inline uint8_t MIN(uint8_t a, uint8_t b) { return((a) < (b) ? a : b); } int main() { printf("Hello World\n"); for(int i = 0; i<1000;i++){ licznik+=skladnik; if(licznik == MAX(licznik,255))skladnik = -5; if(licznik == MIN(licznik,0))skladnik = 5; printf("licznik %d\n",licznik); } 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