Napisałem w C++ w Eclipse poniższy kod:
include <iostream>
#include <cstdlib>
#include <tuple>
using namespace std;
int main ()
{
tuple <int,char> krotka (10,'x');
return 0;
}
Dostałem taką informację:
Multiple markers at this line
- expected ‘;’ before ‘int’
- expected primary-expression before
‘int’
- ‘tuple’ was not declared in this scope
Czemu to jest źle?