My problem is that I would like to use the function launched by the keyword received in carac from a text file, and use the string right after carac in this function that is in
If I'm understanding correctly all you need to do is extract again:
if (found != _map.end()) { std::string name; fichier >> name; // this is the second word found->second(); pile_double.afficher(); }