online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> //use default argument for template type parameter "Type" template<typename Type = int> class Bag { // ... inline static const char* print_seperator = "\n"; public: // ... inline static void set_seperator(const char* new_seperator) { Bag::print_seperator = new_seperator; } }; int main() { //no need to specify int Bag<>::set_seperator(", "); //angle bracket still needed 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