72
using namespace std ;
const int Taille = 9;
const int JoueurGauche = 0;
const int JoueurDroit = 1;
class Intersection {
public :
int X, y;
bool legale () {
}
} ;
r et u r n ( ( x >= 0) && ( x < Ta i 11 e ) &&
( y >= 0 ) && ( y < T a i 11 e ) ) ;
class Coup {
public :
list 1;
Recherche avec menaces
fr iend istream & operator >> ( istream & entree ,
Coup & c);
} ;
fr iend ostream & operator << ( ostream & sortie ,
Coup & c);
istream & operator >> ( istream & entree ,
Coup & c) {
}
Intersection inter ;
entree >> inter .x >> inter .y;
while ( true ) {
}
c. l. push_back (inter );
entree >> inter .x;
i f ( i n t e r . x == - 1 )
break ;
entree >> inter .y;
return entree ;
ostream & operator << ( ostream & sortie
Coup & c) {
fo r ( list: : iterator it = c. l. begin ();
i t ! = c . l . end () ; ++ i t )
using namespace std ;
const int Taille = 9;
const int JoueurGauche = 0;
const int JoueurDroit = 1;
class Intersection {
public :
int X, y;
bool legale () {
}
} ;
r et u r n ( ( x >= 0) && ( x < Ta i 11 e ) &&
( y >= 0 ) && ( y < T a i 11 e ) ) ;
class Coup {
public :
list
Recherche avec menaces
fr iend istream & operator >> ( istream & entree ,
Coup & c);
} ;
fr iend ostream & operator << ( ostream & sortie ,
Coup & c);
istream & operator >> ( istream & entree ,
Coup & c) {
}
Intersection inter ;
entree >> inter .x >> inter .y;
while ( true ) {
}
c. l. push_back (inter );
entree >> inter .x;
i f ( i n t e r . x == - 1 )
break ;
entree >> inter .y;
return entree ;
ostream & operator << ( ostream & sortie
Coup & c) {
fo r ( list
i t ! = c . l . end () ; ++ i t )
