Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/07/2010, 19:45
Avatar de Mercality
Mercality
 
Fecha de Ingreso: junio-2010
Mensajes: 19
Antigüedad: 13 años, 11 meses
Puntos: 0
Respuesta: Problema usando el gets con estructuras y ciclos

En el otro tema me recomendaste hacer algo de este tipo

fgets(struct[i].char,40,stdin);

Y que así no tendría problemas, pero es igual que si usara gets, entonces igual debo hacerle un flush al stdin luego de haber usado un scanf antes de un get?