hanane_1
Messages postés95Date d'inscriptiondimanche 8 avril 2007StatutMembreDernière intervention 5 avril 2010
-
5 avril 2010 à 02:27
ostream& operator<<(ostream& out, const Jeu& j) {
for (unsigned int i(0); i < j.size(); ++i)
out << " + " << *(j[i]); // ligne d'erreur
return out;
}
le msg d'erreur est:
'<<' : no operator defined which takes a right-hand operand of type 'class Carte' (or there is no acceptable conversion)
Aidez moi SVP