// http://en.cppreference.com/w/cpp/container/map // map example #include #include #include using namespace std; int main() { map maListe; maListe = { {"x1", 5}, {"mu", 3}, {"y1", 1}, {"a3", 7} }; for(auto it = maListe.begin(); it != maListe.end(); ++it) cout << it->first << " = " << it->second << endl; return 0; } // main()