online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> #include<map> #include<string> #include<vector> class Dummy { public: Dummy() {} }; class Server { public: std::string ip; std::string port; Dummy dummy; // <-- declare an object from within another object. public: Server(std::string port__, std::string ip__, Dummy dummy__):port(port__), ip(ip__), dummy(dummy__) { } void some_func() { // use dummy from here. //dummy.hello_world(); } }; int main() { 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