online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> #include <vector> #include <list> using namespace std; template < typename T, template <typename W> typename Container = std::vector > class myclass { public: Container<T> myc; public: void func(); myclass() { for (int i = 0; i < 10; ++i) { myc.push_back(i); } } }; template < typename T, template <typename W> typename Container > void myclass<T, Container>::func() { cout << "good!" << endl; } int main() { myclass<int, vector> mylistobj2; mylistobj2.func(); 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