<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'bookman old style', 'new york', times, serif;font-size:12pt"><div></div><div>Hola estimado amigo, fijate como esto funciona...</div><div><br></div><div>probado en Dev C++ 4.9.9.2.</div><div><br></div><div><div>#include <string.h></div><div>#include "iostream"</div><div>using namespace std;</div><div> </div><div>int tamx=4;</div><div>int tamy=20;</div><div>char t;</div><div>int x=0,y=0;</div><div>char buscar[25];</div><div>char m[20][4][25];</div><div><br></div><div> </div><div><br></div><div>int main()</div><div>{    </div><div>    while(t != '7') </div><div>     {   </div><div>         cout<<"Presione el n"; printf("\243"); cout<<"mero de la opci"; </div><div>         printf("\242"); cout<<"n que
 desee:"<<endl<<endl;</div><div>         cout<<"1.Ingresar Contacto."<<endl<<"2.Buscar por Nombre."<<endl;                                      </div><div>         cout<<"3.Buscar por Fecha de Cumplea";printf("%c",-92);cout<<"os."<<endl;</div><div>         cout<<"4.Buscar por Orden Alfab";</div><div>         printf("\202"); cout<<"tico."<<endl<<"5.Modificar Contacto."<<endl;</div><div>         cout<<"6.Eliminar Contacto."<<endl<<"7.Salir."<<endl<<endl<<"   "; </div><div>         cin>>t;</div><div>          // Ejecucion de primer dfd para
 selccion;</div><div>         if (t==1)</div><div>         //Diagrama de flujo dos ingresar contacto </div><div>         {</div><div>            }</div><div>         else</div><div>           {</div><div>                   }      </div><div>     };</div><div>}</div><div><br></div><div>Atentamente.</div> </div><p align="left"><font class="Apple-style-span" face="garamond, 'new york', times, serif"><span class="Apple-style-span" style="font-size: large; "><u></u></span></font></p><font class="Apple-style-span" face="garamond, 'new york', times, serif"><u><p><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:garamond,;"><u><span
 class="Apple-style-span" style="font-size:large;">Luis Pedro Méndez.(Elinv)</span></u></span></span></p><hr><p><u><b>Nuestras Webs:</b></u></p><hr><p><a rel="nofollow" target="_blank" href="http://www.bragadomas.com/forodeprogramacion/index.php">http://www.bragadomas.com/forodeprogramacion/index.php</a></p><p><a rel="nofollow" target="_blank" href="http://www.bragadomas.com.ar/">http://www.bragadomas.com.ar/</a></p><p><a rel="nofollow" target="_blank" href="http://es.answers.yahoo.com/my/profile;_ylt=Ajv9R3ENh0dnDJFyVusK.kVo.gt.;_ylv=3?show=Spjl14ypaa&preview=true">http://es.answers.yahoo.com/my/profile;_ylt=Ajv9R3ENh0dnDJFyVusK.kVo.gt.;_ylv=3?show=Spjl14ypaa&preview=true</a></p><p><a rel="nofollow" target="_blank" href="http://www.youtube.com/luispedromendez">http://www.youtube.com/luispedromendez</a></p><p><a rel="nofollow" target="_blank" href="http://www.bragadomas.com/mil.htm">http://www.bragadomas.com/mil.htm</a></p><p><a rel="nofollow"
 target="_blank" href="http://www.bragadomas.com/si/">http://www.bragadomas.com/si/</a></p><p><a rel="nofollow" target="_blank" href="http://bragadohoy.blogspot.com/">http://bragadohoy.blogspot.com/</a></p><p><a rel="nofollow" target="_blank" href="http://luispedromendez.blogspot.com/">http://luispedromendez.blogspot.com/</a></p><hr><span class="Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><span class="Apple-style-span" style="font-size:16px;"><p align="left" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><font class="Apple-style-span" color="#0000BF" face="Garamond"><span class="Apple-style-span" style="text-decoration:underline;"><b>Nuestros Mails</b></span></font></p><font
 class="Apple-style-span" color="#0000BF" face="Garamond"><hr></font><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><span class="Apple-style-span" style="font-family:garamond,;font-size:large;"><u><span class="Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><span class="Apple-style-span" style="font-size:16px;"></span></span></u></span></p><u><p align="left" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;display:inline;"><u><font face="Garamond"><font class="Apple-style-span" color="#0000BF"><a rel="nofollow" target="_blank" href="mailto:luis_pedro_mendez@yahoo.com.ar">luis_pedro_mendez@yahoo.com.ar</a></font></font></u></p></u></span><u></u></span><u></u><p
 align="left" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><u><font face="Garamond"><a rel="nofollow" target="_blank" href="mailto:1000@bragadomas.com"><font class="Apple-style-span" color="#0000BF">1000@bragadomas.com</font></a></font></u></p><p align="left" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><u><font face="Garamond"><font class="Apple-style-span" color="#0000BF"><a rel="nofollow" target="_blank" href="mailto:info@bragadomas.com">info@bragadomas.com</a></font></font></u></p></u></font><p></p><div><br></div><div style="font-family:bookman old style, new york, times, serif;font-size:12pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De:</span></b> Julio Alejandro Cuervo Huertas <alejandrochas@live.com.ar><br><b><span style="font-weight: bold;">Para:</span></b>
 cconclase@listas.conclase.net<br><b><span style="font-weight: bold;">Enviado:</span></b> domingo, 6 de junio, 2010 11:31:49<br><b><span style="font-weight: bold;">Asunto:</span></b> [C con Clase] problema<br></font><br>

<style><!--
.hmmessage P
{
margin:0px;padding:0px;}
body.hmmessage
{
font-size:10pt;font-family:Verdana;}
--></style>


Buenos Dias <br>
no se si me podra ayudar con esto lo que pasa es que mi profesor no sirve para mucho entonces recurro a esta ayuda:<br>
 <br>
La cosa es que el codigo cuando selecciono 7 no sale del while y la verda dno entiendeo mucho ya intente varias cosas<br>
 <br>
ps este es como el cofigo que llevo hasta ahora de mi proyecto de semestre de una agenda telefonica:<br>
 <br>
 <br>
#include "iostream"<br>using namespace std;<br> <br>int tamx=4;<br>
int tamy=20;<br>
char t;<br>int x=0,y=0;<br>
char buscar[25];<br>
char m[20][4][25];<br>
<br> <br>
<br>int main()<br>{    <br>    <br> <br>  while(t != 7)<br>     {   <br>         cout<<"Presione el n"; printf("\243"); cout<<"mero de la opci"; <br>         printf("\242"); cout<<"n que desee:"<<endl<<endl;<br>         <br>         cout<<"1.Ingresar Contacto."<<endl<<"2.Buscar por Nombre."<<endl;                                      <br>         cout<<"3.Buscar por Fecha de
 Cumplea";printf("%c",-92);cout<<"os."<<endl;<br>         cout<<"4.Buscar por Orden Alfab";<br>         printf("\202"); cout<<"tico."<<endl<<"5.Modificar Contacto."<<endl;<br>         cout<<"6.Eliminar Contacto."<<endl<<"7.Salir."<<endl<<endl<<"   "; <br>
         cin>>t;<br>         <br>          // Ejecucion de primer dfd para selccion;<br>         if (t==1)<br>         //Diagrama de flujo dos ingresar contacto <br>         {<br>            }<br>         else<br>         <br>           {<br>                    <br>           
 <br>                   }      <br>            <br>                     <br>     };<br>        <br>       <br>       <br>   <br>  <br>}    <br>                                          <br><hr>Discover the new Windows Vista <a rel="nofollow" target="_blank" href="http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE">Learn more!</a>
</div></div><div style="position:fixed"></div>


</div><br>




       </body></html>