Using a var from a text file

后端 未结 1 1666
栀梦
栀梦 2021-01-29 11:52

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

相关标签:
1条回答
  • 2021-01-29 12:25

    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();
    }
    
    0 讨论(0)
提交回复
热议问题