online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> enum Color { RED, GREEN, BLUE }; namespace NS { std::string MyToString(Color e) { return "SOMETHING"; } } int main() { std::cout << NS::MyToString(Color::RED) << std::endl; std::cout << MyToString(Color::RED) << std::endl; 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