online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
// Una clase simple de Vectores con una clase Point #include <iostream> using namespace std; class Point{ public: double x, y; }; class Vector{ public: Point start, end; }; int main(){ Vector vec1; vec1.start.x = 1.0; vec1.start.y = 2.0; vec1.end.x = 3.0; vec1.end.y = 4.0; Vector vec2; vec2.start.x = 5.0; vec2.start.y = 6.0; vec2.end.x = 7.0; vec2.end.y = 8.0; cout<<"vector 1 start:"<<"("<<vec1.start.x<<","<<vec1.start.y<<") &" <<" end:"<<"("<<vec1.end.x<<","<<vec1.end.y<<")"<<endl; cout<<"vector 2 start:"<<"("<<vec2.start.x<<","<<vec2.start.y<<") &" <<" end:"<<"("<<vec2.end.x<<","<<vec2.end.y<<")"<<endl; }

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