![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
31/03/2005, 16:09
|
| | Fecha de Ingreso: marzo-2005
Mensajes: 29
Antigüedad: 19 años, 10 meses Puntos: 0 | |
mira tengo esto y no me da?
no entiendo k pasa revisalo y decime si esta bien
void arreglo::crear(){
int sw;
int dato;
clrscr();
gotoxy(5,5);
cout<<"Do you wan to run this program?";
gotoxy(0,5);
cin>>dato;
clrscr();
if(dato % 2==0){
vec[i]=dato;
i++;
}
else
{
gotoxy(5,5);
cout<<"Dato to enter is not valid;"
}
clrscr();
gotoxy(5,7);
cout<<"IN:1 OUT:2";
gotoxy(0,5);cin>>sw;
}, |