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, Java, PHP, Ruby, Perl, C#, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog. Code, Compile, Run and Debug online from anywhere in world. *******************************************************************************/ #include <stdio.h> #include "test.h" #include "shared.h" int main() { printf("Hello World"); toOne(); printf("%d", testVar); }
void toOne() { testVar = 1; }
#ifndef __TEST_H #define __TEST_H #include "shared.h" void toOne(); #endif /*__ES_WIFI_H*/
#ifndef __TEST_H #define __TEST_H extern int testVar; #endif /*__ES_WIFI_H*/

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