Lire le contenu d’un fichier dans une collection de type ‘list’

Author:

 list, list, iterator
Download

#include 
#include

#include 
#include 
using namespace std;

int main()
{
 list data;
ifstream in("tel.dat");
copy(std::istream_iterator(in),

          std::istream_iterator(  ),

          std::front_inserter(data));

return 0;
}

Leave a Reply

Your email address will not be published. Required fields are marked *