-2
#include<iostream>
#include<tuple>

using namespace std;



int main()
{

    tuple< int ,char,float>temp;

    temp = make_tuple( 10, 'a',  5.5);

    cout<<"the initial values of tuples are:";
    cout<<get<0>(temp) << " " <<get<1>(temp)<,endl;
}
#error This file requires compiler and library support for the \

while i compile my code it shows this.

πάντα ῥεῖ
  • 1
  • 13
  • 116
  • 190

1 Answers1

0

Here is how you activate the c++11:

How can I add C++11 support to Code::Blocks compiler?

You have an error in your code because you used <, and its supposed to be << otherwise it works fine for me on VS

Ninhow
  • 47
  • 7