Пожалуйста помогите с ошибкой в коде в С++

#include <iostream> 
#include <algorithm>
#include <fstream> 
#include <random>
using namespace std;  
int main(void) {     
long long int a,b,c; random_device rd;  
mt19937 gen(rd());     uniform_int_distribution<>dis(1,100);     a=dis(gen);b=dis(gen);c=dis(gen);     ofstream file("1.txt");         file<<(min(min(a,b),c));         file.close();      
return 0; }

После компиляции и запуска выдает следующее:#error This file requires compiler and library support for the\ISO C++ 2011 standart.This support is currently experimental, and must be\ enabled with the -std=c++11 or -std=gnu++11 compiler options.


Ответы (0 шт):