online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <random> #include <algorithm> #include <iterator> #include <iostream> #include <vector> #define MAX 10 int main() { std::vector<int> v(MAX) ; // vector with 100 ints. std::iota (std::begin(v), std::end(v), 0); std::random_device rd; std::mt19937 g(rd()); std::shuffle(v.begin(), v.end(), g); std::copy(v.begin(), v.end(), std::ostream_iterator<int>(std::cout, " ")); std::cout << "\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