online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <memory> namespace Gdiplus { struct GraphicsPath { GraphicsPath()=default; ~GraphicsPath()=default; GraphicsPath(const GraphicsPath&)=delete; GraphicsPath(GraphicsPath&&)=default; GraphicsPath& operator=(const GraphicsPath&)=delete; GraphicsPath& operator=(GraphicsPath&&)=default; void AddLine(float x1,float x2,float x3,float x4){} }; } std::unique_ptr<Gdiplus::GraphicsPath> vertical(float x1,float x2,float x3,float x4) { std::unique_ptr<Gdiplus::GraphicsPath> pth(new Gdiplus::GraphicsPath); pth->AddLine(x1,x2,x3,x4); return pth; } int main() { std::unique_ptr<const Gdiplus::GraphicsPath> path=vertical(1,2,3,4); 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