Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (stream.tellg() != endFile)
- {
- stream >> carteCollectioneeTmp;
- // Mettre à jour le pt de carte de la carteCollectionee...
- ptCarteTmp = collection.m_ptAlbum->getPtCarte(carteCollectioneeTmp.getNumero());
- if (NULL == ptCarteTmp)
- {
- cout << "Impossible de trouver la carte " << carteCollectioneeTmp.getNumero()
- << ". Cette carte ne sera pas ajoutee a votre collection" << endl;
- }
- else
- {
- carteCollectioneeTmp.setPtCarte(ptCarteTmp);
- collection.m_listeCartesCol.ajouteDernier(carteCollectioneeTmp);
- }
- }
Add Comment
Please, Sign In to add comment