online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include "galaxy.hpp" #include "iostream" int main() { Edge::Galaxy::Galaxy ser; auto a = ser.GalaxyFunction(); std::cout << a.size(); return 0; }
#pragma once #include <vector> namespace Edge { namespace Galaxy { class Galaxy { public: std::vector<int> GalaxyFunction(); }; } }
#include "galaxy.hpp" #include <vector> namespace Edge { namespace Galaxy { std::vector<int> Galaxy::GalaxyFunction() { std::vector<int> d = {1, 23, 5}; return d; } } }

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