online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> using namespace std; #include "file1.h" #include "file2.h" int main() { cout << (int) f1(3) << endl; cout << (int) f2(2) << endl; return 0; }
#ifndef File1H #define File1H typedef unsigned char byte; byte f1(byte a, byte b = 5); #endif
#include "file1.h" byte f1(byte a, byte b) { return a + b; }
#ifndef File2H #define File2H #include "file1.h" byte f2(byte a); #endif
#include "file2.h" byte f2(byte a) { return f1(a, 10); }

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