
05/11/2007, 16:45
|
| | Fecha de Ingreso: noviembre-2007
Mensajes: 26
Antigüedad: 17 años, 3 meses Puntos: 0 | |
Re: Ayuda ... bingo Perdon.... se me olvido poner las estructuras.....
Aqui estan...
#include<iostream>
#include<iomanip>
using namespace std;
const int N=3;
const int VALORES=90;
const int COLUMNAS=9;
const int FILAS=3;
const int MAXFILAS=5;
const int V=-1; //Posición vacía del carton.
const int X=-2; //Posición marcada del carton.
/* ESTRUCTURA */
typedef bool Tgenerados[VALORES];
struct Tcarton{
int carton[FILAS][COLUMNAS];
int quedan;
};
struct Tjuego{
Tgenerados bingo;
Tcarton cartones[N];
}; |