online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> #include <tuple> #include <map> #include <list> int main() { std::map<std::tuple<int,int,int,int>,std::array<char,3>> mp; mp.insert({{1,0,0,0},{'a','b','c'}}); mp.insert({{1,1,0,0},{'d','e','f'}}); for(auto itr = mp.begin(); itr!= mp.end(); ++itr){ auto t = itr->first; std::cout << std::get<0>( t ) << std::get<1>( t ) << std::get<2>( t ) << std::get<3>( t )<< '\n'; } }

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