<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<font class="Apple-style-span" color="#00B050" face="'Courier New'"><b>Gracias a todos los que me respondieron.</b></font><div><font class="Apple-style-span" color="#00B050" face="'Courier New'"><b>Ahora si lo entiendo jaja <img src="http://gfx2.hotmail.com/mail/w4/m3/ltr/emo/lol.gif" title="Risa a carcajadas" alt="Risa a carcajadas" width="19" height="19" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: text-bottom; ">.</b></font></div><div><font class="Apple-style-span" color="#00B050" face="'Courier New'"><b>Esta bueno esto de las listas de "C con clase".<br></b></font><hr id="stopSpelling">From: ale_pedra@live.com<br>To: cconclase@listas.conclase.net<br>Date: Wed, 6 Oct 2010 05:30:39 -0300<br>Subject: [C con Clase] Método de Ordenamiento (Burbuja).<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>


<font class="ecxApple-style-span" color="#00B050" face="'Courier New'"><b>Hola Gente <img src="http://gfx1.hotmail.com/mail/w4/m3/ltr/emo/winking_smile.gif" title="Guiño" alt="Guiño" width="19" height="19" style="border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;vertical-align:text-bottom">!!!<br></b></font><div><font class="ecxApple-style-span" color="#00B050" face="'Courier New'"><b>Empecé estudiar el método de ordenamiento tipo burbuja, pero hay una parte que no entiendo que es la siguiente:</b></font></div><div><font class="ecxApple-style-span" color="#00B050" face="'Courier New'"><b><hr></b></font></div><div><font class="ecxApple-style-span" color="#00B050" face="'Courier New'"><b><span class="ecxApple-style-span" style="color:rgb(236, 236, 236);font-family:Georgia, Verdana, Tahoma, Arial, sans-serif;font-weight:normal;font-size:15px"><pre class="ecxpseudo" style="text-align:left;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(18, 16, 13)"><font class="ecxApple-style-span" color="#FF0000"><b>     for</b></font> (i = 1 ; i < TAM ; i++)</pre></span><span class="ecxApple-style-span" style="color:rgb(236, 236, 236);font-family:Georgia, Verdana, Tahoma, Arial, sans-serif;font-weight:normal;font-size:15px"><pre class="ecxpseudo" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(18, 16, 13)"><div style="text-align:left"><br></div><div style="text-align:left"><span class="ecxApple-style-span" style="color:rgb(0, 176, 80);font-family:'Courier New';white-space:normal;font-size:13px"><b><span class="ecxApple-style-span" style="color:rgb(236, 236, 236);font-family:Georgia, Verdana, Tahoma, Arial, sans-serif;font-weight:normal;font-size:15px"><pre class="ecxpseudo" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(18, 16, 13);display:inline !important">     <font class="ecxApple-style-span" color="#FF0000"><b>for</b> </font>(j = 0 ; j < TAM - 1 ; j++) <font class="ecxApple-style-span" color="#00B050" face="'Courier New'"><span class="ecxApple-style-span" style="font-size:10pt"><b>//¿Por que el <font class="ecxApple-style-span" color="#FF0000">TAM - 1</font>? , no entiendo porque le resta <font class="ecxApple-style-span" color="#FF0000">1</font>.</b></span></font><span class="ecxApple-style-span" style="color:rgb(0, 176, 80);font-family:'Courier New';white-space:normal;font-size:13px"><b><span class="ecxApple-style-span" style="color:rgb(236, 236, 236);font-family:Georgia, Verdana, Tahoma, Arial, sans-serif;font-weight:normal;font-size:15px"><pre class="ecxpseudo" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(18, 16, 13);display:inline !important"><span class="ecxApple-style-span" style="color:rgb(0, 176, 80);font-family:'Courier New';white-space:normal;font-size:13px"><b><span class="ecxApple-style-span" style="color:rgb(236, 236, 236);font-family:Georgia, Verdana, Tahoma, Arial, sans-serif;font-weight:normal;font-size:15px"><pre class="ecxpseudo" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(18, 16, 13);display:inline !important"><font class="ecxApple-style-span" color="#00B050" face="'Courier New'"><span class="ecxApple-style-span" style="font-size:10pt"><b><font class="ecxApple-style-span" color="#FF0000"> </font></b></span></font></pre></span></b></span></pre></span></b></span></pre></span></b></span></div></pre></span><span class="ecxApple-style-span" style="color:rgb(236, 236, 236);font-family:Georgia, Verdana, Tahoma, Arial, sans-serif;font-weight:normal;font-size:15px"><pre class="ecxpseudo" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(18, 16, 13)"><div style="text-align:left"><br></div><div style="text-align:left"><span class="ecxApple-style-span" style="color:rgb(0, 176, 80);font-family:'Courier New';white-space:normal;font-size:13px"><b><span class="ecxApple-style-span" style="color:rgb(236, 236, 236);font-family:Georgia, Verdana, Tahoma, Arial, sans-serif;font-weight:normal;font-size:15px"><pre class="ecxpseudo" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(18, 16, 13);display:inline !important">    <b> </b><font class="ecxApple-style-span" color="#FF0000"><b>if</b></font>  (lista[j] > lista[j+1])</pre></span></b></span></div></pre></span><span class="ecxApple-style-span" style="color:rgb(236, 236, 236);font-family:Georgia, Verdana, Tahoma, Arial, sans-serif;font-weight:normal;font-size:15px"><pre class="ecxpseudo" style="text-align:left;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(18, 16, 13)"><br></pre></span><span class="ecxApple-style-span" style="color:rgb(236, 236, 236);font-family:Georgia, Verdana, Tahoma, Arial, sans-serif;font-weight:normal;font-size:15px"><pre class="ecxpseudo" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(18, 16, 13)"><div style="text-align:left"><br></div><div style="text-align:left"><span class="ecxApple-style-span" style="color:rgb(0, 176, 80);font-family:'Courier New';white-space:normal;font-size:13px"><b><span class="ecxApple-style-span" style="color:rgb(236, 236, 236);font-family:Georgia, Verdana, Tahoma, Arial, sans-serif;font-weight:normal;font-size:15px"><pre class="ecxpseudo" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(18, 16, 13);display:inline !important">     temp = lista[j];</pre></span></b></span></div></pre></span><span class="ecxApple-style-span" style="color:rgb(236, 236, 236);font-family:Georgia, Verdana, Tahoma, Arial, sans-serif;font-weight:normal;font-size:15px"><pre class="ecxpseudo" style="text-align:left;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(18, 16, 13)">     lista[j] = lista[j + 1];</pre></span><span class="ecxApple-style-span" style="color:rgb(236, 236, 236);font-family:Georgia, Verdana, Tahoma, Arial, sans-serif;font-weight:normal;font-size:15px"><pre class="ecxpseudo" style="text-align:left;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(18, 16, 13)">     lista[j + 1] = temp;</pre><pre class="ecxpseudo" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(18, 16, 13)"><hr></pre></span><span class="ecxApple-style-span" style="color:rgb(236, 236, 236);font-family:Georgia, Verdana, Tahoma, Arial, sans-serif;font-weight:normal;font-size:15px"><pre class="ecxpseudo" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font class="ecxApple-style-span" color="#00B050" face="'Courier New'" size="3"><span class="ecxApple-style-span" style="font-size:13px"><b>Les puede parecer una boludes(idiotez) a la mayoría pero simplemente no la encajo esa parte , pero el resto</b></span></font></pre><pre class="ecxpseudo" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font class="ecxApple-style-span" color="#00B050" face="'Courier New'" size="3"><span class="ecxApple-style-span" style="font-size:13px"><b>sí.</b></span></font></pre><pre class="ecxpseudo" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font class="ecxApple-style-span" color="#00B050" face="'Courier New'" size="3"><span class="ecxApple-style-span" style="font-size:13px"><b>Agradezco de antemano </b></span></font><span class="ecxApple-style-span" style="color:rgb(0, 0, 0);font-family:'Times New Roman';white-space:normal;font-size:13px"><img src="http://gfx1.hotmail.com/mail/w4/m3/ltr/emo/open_mouthed_smile.gif" title="Risa" alt="Risa" width="19" height="19" style="border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;vertical-align:text-bottom">.</span></pre></span></b></font></div>                                           
<br>_______________________________________________
Lista de correo Cconclase Cconclase@listas.conclase.net
http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net
Bajas: http://listas.conclase.net/index.php?gid=2&mnu=FAQ</div>                                         </body>
</html>