#include <iostream> #include <string> #include <tuple> using namespace std; int main () { tuple<string,int> tt[10]; for(int i=0; i<10; i++) { tt[i] = make_tuple("Number" + to_string(i), i); cout << get<0>(tt[i]) << " " << get<1>(tt[i]) << endl; } return 0; }