jai d�finit ce code dans le fichier.cpp sans mettre la d�claration au fichier.h
code;:
voila le msg d'erreur:
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5
6 ostream& operator<<(ostream& out, const Jeu& j) { for (unsigned int i(0); i < j.size(); ++i) out << " + " << *(j[i]);// ligne d'erreur return out; }
binary '<<' : no operator defined which takes a right-hand operand of type 'class Carte' (or there is no acceptable conversion)
Aidez moi SVP � urgent
Partager