<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY><DIV><FONT face='Arial' color=#000000 size=3>Hola.</FONT></DIV>
<DIV><FONT face=Arial>Tengo la siguiente duda: la funcion gets asume alg'un
valor que yo no deseo porque no me da el tiempo de espera para yo entrar el
texto. Si tienen alguna sujerencia que no sea el scanf por el
cin....</FONT></DIV>
<DIV><FONT face=Arial>De antemano muchisimas gracias,</FONT></DIV>
<DIV><FONT
face=Arial>
Yudenis.</FONT></DIV>
<DIV><FONT face=Arial></FONT><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=3>#include
<iostream></FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=3>using namespace std;</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=3>char Valor1[10],
Valor2[10];</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=3>int main(int argc, char
*argv[])<BR>{ <BR> cout<<"Entre
valor";<BR> <BR>
cin>>Valor2;<BR> gets(Valor1); <BR>
<BR>
cout<<endl<<Valor1<<endl<<Valor2<<endl;<BR>
<BR> cin.get(); <BR> cin.get(); <BR>return
0;<BR>}</FONT></DIV></BODY></HTML>