Hola Juan Antonio, mi nombre es Gabriel Gil Gálvez, estoy interesado en estudiar y aprender C++, pero no se como puedo obtener un software de dicho programa de manera gratuita porque comprarlo me resulta muy oneroso. Conseguir una descarga por internet sería posible, agradecere me contestes a mi correo <A href="mailto:Gabo3g@yahoo.es">Gabo3g@yahoo.es</A>. Gracias<BR><BR><B><I>Juan Antonio <jalr43@hotmail.com></I></B> escribió:  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <STYLE type=text/css>DIV {   MARGIN: 0px  }  </STYLE>    <META content="MSHTML 6.00.2900.3020" name=GENERATOR>  <DIV><FONT face=Arial size=2>Hola Alejandro,</FONT></DIV>  <DIV><FONT face=Arial size=2></FONT> </DIV>  <DIV><FONT face=Arial size=2>puedes usar ficheros donde guardes la información que desees y luego cuando vuelvas a abrir tu programa de nuevo puedes recuperar esos datos, borrar algunos, añadir más, etc. Consulta el siguiente
 link:</FONT></DIV>  <DIV><FONT face=Arial size=2></FONT> </DIV>  <DIV><FONT face=Arial size=2><A href="http://c.conclase.net/curso/index.php?cap=039">http://c.conclase.net/curso/index.php?cap=039</A></FONT></DIV>  <DIV><FONT face=Arial size=2></FONT> </DIV>  <DIV><FONT face=Arial size=2>Un saludo,</FONT></DIV>  <DIV><FONT face=Arial size=2>Juan Antonio.</FONT></DIV>  <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>  <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=alepelexo@yahoo.es href="mailto:alepelexo@yahoo.es">Alejandro Vilar López</A> </DIV>  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=cconclase@listas.conclase.net href="mailto:cconclase@listas.conclase.net">cconclase@listas.conclase.net</A> </DIV>  <DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, January 13,
 2007 6:19 PM</DIV>  <DIV style="FONT: 10pt arial"><B>Subject:</B> [C con Clase] Guardar datos</DIV>  <DIV><BR></DIV>  <DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">  <DIV>Hola, me llamo Alejandro y soy español.</DIV>  <DIV>Tengo 13 años y me gusta la informática. Antes había hecho páginas web con HTML pero ahora me he metido a la programación</DIV>  <DIV>Me gustaría saber si se pueden guardar los datos que introduzcas en un programa y que al cerrar el programa no los pierdas. Os pregunto esto para el problema 1 de la parte de estructuras en el que hay que crear una agenda telefónica y para el que yo he usado este código:</DIV>  <DIV> </DIV>  <DIV><FONT color=#008000 size=2>  <div>//Escribir un programa que almacene en un array los nombres y números de teléfono de 10 personas.</div>  <div>//El programa debe leer los datos introducidos por el usuario y guardarlos en memoria. </div>  <div>//Después debe ser capaz de buscar el
 nombre correspondiente a un número de teléfono y el teléfono </div>  <div>//correspondiente a una persona. Ambas opciones deben se accesibles a través de un menú, así como la </div>  <div>//opción de salir del programa. El menú debe tener esta forma, más o menos: </div>  <div>//a) Buscar por nombre</div>  <div>//b) Buscar por número de teléfono</div>  <div>//c) Salir</div>  <div>//Pulsa una opción:</div>  <div>//4/1/2007 Alejandro Vilar López</div></FONT><FONT color=#0000ff size=2>  <div>#include</FONT><FONT color=#800000 size=2><iostream></FONT><FONT color=#008000 size=2>//Librería para usar cout</div></FONT><FONT color=#0000ff size=2>  <div>using</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>namespace</FONT><FONT size=2> std;</div></FONT><FONT color=#0000ff size=2>  <div>struct</FONT><FONT size=2> Datos</FONT><FONT color=#008000 size=2>//Estructura donde guardaré los datos</div></FONT><FONT size=2>  <div>{</div>  <div></FONT><FONT color=#0000ff
 size=2>char</FONT><FONT size=2> nombre[15];</FONT><FONT color=#008000 size=2>//Variable de caracteres donde guardaré el nombre</div></FONT><FONT size=2>  <div></FONT><FONT color=#0000ff size=2>int</FONT><FONT size=2> telefono;</FONT><FONT color=#008000 size=2>//Variable entera para guardar el teléfono</div></FONT><FONT size=2>  <div>}Persona[100];</FONT><FONT color=#008000 size=2>//Array donde se guerdan las personas</div></FONT><FONT color=#0000ff size=2>  <div>int</FONT><FONT size=2> main()</FONT><FONT color=#008000 size=2>//Función principal</div></FONT><FONT size=2>  <div>{</div>  <div></FONT><FONT color=#0000ff size=2>char</FONT><FONT size=2> opcion[2];</FONT><FONT color=#008000 size=2>//Variable de caracteres donde guardaré la respuesta</div></FONT><FONT size=2>  <div></FONT><FONT color=#0000ff size=2>char</FONT><FONT size=2> respuesta1[2];</FONT><FONT color=#008000 size=2>//Variable de caracteres donde guardaré otra respuesta</div></FONT><FONT size=2> 
 <div></FONT><FONT color=#0000ff size=2>char</FONT><FONT size=2> respuesta2[2];</FONT><FONT color=#008000 size=2>//Variable de caracteres donde guardaré otra respuesta</div></FONT><FONT size=2>  <div></FONT><FONT color=#0000ff size=2>char</FONT><FONT size=2> respuesta3[2];</FONT><FONT color=#008000 size=2>//Variable de caracteres donde guardaré otra respuesta</div></FONT><FONT size=2>  <div></FONT><FONT color=#0000ff size=2>char</FONT><FONT size=2> cnombre[15];</FONT><FONT color=#008000 size=2>//Variable para comprobar el nombre</div></FONT><FONT size=2>  <div></FONT><FONT color=#0000ff size=2>int</FONT><FONT size=2> ctelefono;</FONT><FONT color=#008000 size=2>//Variable par comprobar el teléfono</div></FONT><FONT size=2>  <div></FONT><FONT color=#0000ff size=2>int</FONT><FONT size=2> k;</FONT><FONT color=#008000 size=2>//Variable entera que usaré de contador en los bucles</div></FONT><FONT size=2>  <div></FONT><FONT color=#0000ff size=2>int</FONT><FONT size=2>
 n;</FONT><FONT color=#008000 size=2>//Variable que usaré como contador en los bucles</div></FONT><FONT size=2>  <div></div>  <div>Start:</FONT><FONT color=#008000 size=2>//Etiqueta para goto</div></FONT><FONT size=2>  <div>cout << endl << </FONT><FONT color=#800000 size=2>"Que deseas hacer? (a/b/c/d)"</FONT><FONT size=2> << endl << </FONT><FONT color=#800000 size=2>"a) Introducir datos"</FONT><FONT size=2> << endl</div>  <div><<</FONT><FONT color=#800000 size=2>"b) Buscar por nombre"</FONT><FONT size=2> << endl << </FONT><FONT color=#800000 size=2>"c) Buscar por telefono"</FONT><FONT size=2> << endl << </FONT><FONT color=#800000 size=2>"d) Salir"</FONT><FONT size=2> << endl;</FONT><FONT color=#008000 size=2>//Muestra esto</div></FONT><FONT size=2>  <div>cin >> opcion;</FONT><FONT color=#008000 size=2>//Te deja responder</div></FONT><FONT size=2>  <div></div>  <div></FONT><FONT color=#0000ff
 size=2>if</FONT><FONT size=2>(opcion[0] == </FONT><FONT color=#800000 size=2>'a'</FONT><FONT size=2> || opcion[0] == </FONT><FONT color=#800000 size=2>'A'</FONT><FONT size=2>)</FONT><FONT color=#008000 size=2>//Si respondes a</div></FONT><FONT size=2>  <div>{</div>  <div></FONT><FONT color=#0000ff size=2>for</FONT><FONT size=2>(k = 0; k <= 99; k ++)</FONT><FONT color=#008000 size=2>//Bucle for para meter el nombra</div></FONT><FONT size=2>  <div>{</div>  <div>cout << endl << </FONT><FONT color=#800000 size=2>"Introduce el nombre (maximo 15 letras y sin"</FONT><FONT size=2> </div>  <div></FONT><FONT color=#800000 size=2>" espacios): "</FONT><FONT size=2> << endl;</FONT><FONT color=#008000 size=2>//Muestra esto</div></FONT><FONT size=2>  <div>cin >> Persona[k].nombre;</FONT><FONT color=#008000 size=2>//Te deja meter el nombre</div></FONT><FONT size=2>  <div>cout << </FONT><FONT color=#800000 size=2>"Introduce el telefono: "</FONT><FONT
 size=2> << endl;</FONT><FONT color=#008000 size=2>//Muestra esto</div></FONT><FONT size=2>  <div>cin >> Persona[k].telefono;</FONT><FONT color=#008000 size=2>//Te deja meter el teléfono</div></FONT><FONT size=2>  <div>cout << </FONT><FONT color=#800000 size=2>"Introducir mas personas? (s/n)"</FONT><FONT size=2> << endl;</FONT><FONT color=#008000 size=2>//Muestra esto</div></FONT><FONT size=2>  <div>cin >> respuesta1;</FONT><FONT color=#008000 size=2>//Te deja contestar</div></FONT><FONT size=2>  <div></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2>(respuesta1[0] == </FONT><FONT color=#800000 size=2>'n'</FONT><FONT size=2> || respuesta1[0] == </FONT><FONT color=#800000 size=2>'N'</FONT><FONT size=2>)</FONT><FONT color=#0000ff size=2>goto</FONT><FONT size=2> Start;</FONT><FONT color=#008000 size=2>//Si se cumple, hace esto</div></FONT><FONT size=2>  <div>}</div>  <div>}</div>  <div></div>  <div></FONT><FONT color=#0000ff
 size=2>if</FONT><FONT size=2>(opcion[0] == </FONT><FONT color=#800000 size=2>'b'</FONT><FONT size=2> || opcion[0] == </FONT><FONT color=#800000 size=2>'B'</FONT><FONT size=2>)</FONT><FONT color=#008000 size=2>//Si respondes b hace lo siguiente</div></FONT><FONT size=2>  <div>{</div>  <div></FONT><FONT color=#0000ff size=2>for</FONT><FONT size=2>(n = 0; n <= 99; n ++)</div>  <div>{</div>  <div>cout << endl << </FONT><FONT color=#800000 size=2>"Introduce el nombre a buscar:"</FONT><FONT size=2> << endl;</FONT><FONT color=#008000 size=2>//Muestra esto</div></FONT><FONT size=2>  <div>cin >> cnombre;</FONT><FONT color=#008000 size=2>//Te deja meter el nombre</div></FONT><FONT size=2>  <div></FONT><FONT color=#0000ff size=2>for</FONT><FONT size=2>(k = 0; k <=99; k ++)</FONT><FONT color=#008000 size=2>//Bucle para buscar el telefono</div></FONT><FONT size=2>  <div>{</div>  <div></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2>(cnombre[0] ==
 Persona[k].nombre[0] </div>  <div>&& cnombre[1] == Persona[k].nombre[1])</FONT><FONT color=#008000 size=2>//Si se cumple, hace esto</div></FONT><FONT size=2>  <div>{</div>  <div>cout << </FONT><FONT color=#800000 size=2>"Telefono de "</FONT><FONT size=2> << Persona[k].nombre << </FONT><FONT color=#800000 size=2>": "</FONT><FONT size=2> </div>  <div><< Persona[k].telefono << endl;</FONT><FONT color=#008000 size=2>//Muestra esto</div></FONT><FONT size=2>  <div>}</div>  <div>}</div>  <div>cout << </FONT><FONT color=#800000 size=2>"Buscar otro telefono? (s/n)"</FONT><FONT size=2> << endl;</FONT><FONT color=#008000 size=2>//Muestra esto</div></FONT><FONT size=2>  <div>cin >> respuesta2;</FONT><FONT color=#008000 size=2>//Te deja contestar</div></FONT><FONT size=2>  <div></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2>(respuesta2[0] == </FONT><FONT color=#800000 size=2>'n'</FONT><FONT size=2> || respuesta2[0] ==
 </FONT><FONT color=#800000 size=2>'N'</FONT><FONT size=2>)</FONT><FONT color=#0000ff size=2>goto</FONT><FONT size=2> Start;</FONT><FONT color=#008000 size=2>//Si se cumple, vuelves a empezar</div></FONT><FONT size=2>  <div>}</div>  <div>}</div>  <div></div>  <div></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2>(opcion[0] == </FONT><FONT color=#800000 size=2>'c'</FONT><FONT size=2> || opcion[0] == </FONT><FONT color=#800000 size=2>'C'</FONT><FONT size=2>)</FONT><FONT color=#008000 size=2>//Si respondes c</div></FONT><FONT size=2>  <div>{</div>  <div></FONT><FONT color=#0000ff size=2>for</FONT><FONT size=2>(n = 0; n <= 99; n ++)</div>  <div>{</div>  <div>cout << endl << </FONT><FONT color=#800000 size=2>"Introduce el telefono:"</FONT><FONT size=2> << endl;</FONT><FONT color=#008000 size=2>//Muestra esto</div></FONT><FONT size=2>  <div>cin >> ctelefono;</FONT><FONT color=#008000 size=2>//Te deja meter el nombre</div></FONT><FONT size=2> 
 <div></FONT><FONT color=#0000ff size=2>for</FONT><FONT size=2>(k = 0; k <=99; k ++)</FONT><FONT color=#008000 size=2>//Bucle para buscar el telefono</div></FONT><FONT size=2>  <div>{</div>  <div></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2>(ctelefono == Persona[k].telefono)</FONT><FONT color=#008000 size=2>//Si se cumple, hace esto</div></FONT><FONT size=2>  <div>{</div>  <div>cout << </FONT><FONT color=#800000 size=2>"El telefono es de"</FONT><FONT size=2> << </FONT><FONT color=#800000 size=2>": "</FONT><FONT size=2> </div>  <div><< Persona[k].nombre << endl;</FONT><FONT color=#008000 size=2>//Muestra esto</div></FONT><FONT size=2>  <div></FONT><FONT color=#0000ff size=2>break</FONT><FONT size=2>;</FONT><FONT color=#008000 size=2>//Corta el bucle</div></FONT><FONT size=2>  <div>}</div>  <div>}</div>  <div>cout << </FONT><FONT color=#800000 size=2>"Buscar otro? (s/n)"</FONT><FONT size=2> << endl;</FONT><FONT color=#008000
 size=2>//Muestra esto</div></FONT><FONT size=2>  <div>cin >> respuesta3;</FONT><FONT color=#008000 size=2>//Te deja contestar</div></FONT><FONT size=2>  <div></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2>(respuesta3[0] == </FONT><FONT color=#800000 size=2>'n'</FONT><FONT size=2> || respuesta3[0] == </FONT><FONT color=#800000 size=2>'N'</FONT><FONT size=2>)</FONT><FONT color=#0000ff size=2>goto</FONT><FONT size=2> Start;</FONT><FONT color=#008000 size=2>//Si se cumple, vuelves a empezar</div></FONT><FONT size=2>  <div>}</div>  <div>}</div>  <div></div>  <div>cin.get();</FONT><FONT color=#008000 size=2>//Mantiene abierto el programa</div></FONT><FONT size=2>  <div></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> 0;</div>  <div>}</div></FONT></DIV>  <DIV> </DIV>  <DIV>Gracias por adelantado y un saludo.</DIV></DIV><BR>  <HR SIZE=1>  <BR><FONT face=Verdana size=-2>LLama Gratis a cualquier PC del Mundo.<BR>Llamadas a fijos y móviles desde 1
 céntimo por minuto.<BR><A href="http://us.rd.yahoo.com/mail/es/tagline/messenger/*http://es.voiceyahoo.com/">http://es.voice.yahoo.com</A></FONT>   <div>  <HR>    <div></div>_______________________________________________<BR>Cconclase mailing list<BR>Cconclase@listas.conclase.net<BR>http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net<BR></BLOCKQUOTE>_______________________________________________<BR>Cconclase mailing list<BR>Cconclase@listas.conclase.net<BR>http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net<BR></BLOCKQUOTE><BR><p>
                <hr size=1><br><font face="Verdana" size="-2">LLama Gratis a cualquier PC del Mundo.<br>Llamadas a fijos y móviles desde 1 céntimo por minuto.<br><a href="http://us.rd.yahoo.com/mail/es/tagline/messenger/*http://es.voice.yahoo.com/">http://es.voice.yahoo.com</a></font>