online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> class B; class A{ public: int a_i=10; void A_lookup(const B& b); //HERE ALSO void A_lookup(const B& b){ std::cout << b.b_i <<std::endl;} WILL NOT WORK }; class B{ public: int b_i=20; void B_lookup(const A& a){ std::cout << a.a_i <<std::endl; } }; void A::A_lookup(const B& b) { std::cout << b.b_i <<std::endl; } int main(void){ A a; B b; a.A_lookup(b); }

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