online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> #include<map> #include<string> #include<vector> using namespace std; class Box{ int l, b, h; public: Box(){ l=0; b=0; h=0; } Box(int length, int breadth, int height){ l=length; b=breadth; h=height; } bool operator < (Box &B){ if(l < B.l)return 1; else if(b < B.b && l==B.l)return 1; else if(h< B.h && b== B.b && l==B.l)return 1; else return 0; } //friend declaration friend ostream& operator <<(ostream& out, const Box& B); }; ostream& operator <<(ostream& out, const Box& B){ cout << B.l << " " << B.b << " " << B.h ; return out; } int main() { }

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