tag:blogger.com,1999:blog-33713480569414607792024-03-14T00:40:44.607-06:00Programing StreetProgramacion paso a paso; en muchos lenguajesAnonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.comBlogger45125tag:blogger.com,1999:blog-3371348056941460779.post-66651592990847059332025-12-22T22:21:00.000-06:002012-12-08T08:08:09.622-06:00<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: red; font-size: x-small;">Bienvenidos y sentimos las molestias, por el momento en el sitio no se publicaran cosas nuevas por falta de personas que nos ayuden a agrandar el sitio. De cualquier modo sigan comentando, estaré al pendiente a sus comentarios y dudas. si saben de alguien que sea bueno en la programación y con disposición a ayudarnos aquí dejo mi correo para ponernos en contacto: alexxh42@gmail.com.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://programing-street.blogspot.mx/2012/05/curso-de-programacion-en-cc-y-java.html"><img border="0" height="246" src="http://1.bp.blogspot.com/-v2puCgWToPw/T6MbmZ8i5_I/AAAAAAAABqE/MG4N0A5YAfg/s400/bienvenido-de-vuelta.jpg" width="400" /></a></div>
<div style="text-align: center;">
<span style="font-size: x-small;"> </span><span style="font-size: x-small;">Haz click en la imagen para ir al indice del curso, o sino <a href="http://programing-street.blogspot.mx/2012/05/curso-de-programacion-en-cc-y-java.html">aqui</a></span></div>
<br />
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<span style="font-size: x-small;"><a href="http://www.facebook.com/ProgramingStreet">Unete a el sitio en facebook! </a></span></div>
<br />
Les quiero compartir la razón por la cual estoy haciendo este blog, no soy un experto en el tema, de hecho me estoy iniciando como tal vez muchos de ustedes, pero tuve la suerte de poder comprar un libro, se llama <b>"Como programar en C / C++ y Java"</b> de Deitel&Deitel. <br />
<br />
Me inicié más o menos hace un mes, y el libro va de la mano conmigo, lo recomiendo al 100% ni siquiera he necesitado una búsqueda en internet, lo he comprendido todo, pero un es un libro de más de 1100 hojas, muy muy grande, y obviamente es algo caro, de unos 600 pesos mx. mas o menos, y bueno a lo largo de lo que he visto en el libro he estado haciendo un estilo de resumen de todo lo que voy entendiendo para reafirmar, y retenerlo mas, pero es una libreta que tal vez ni yo lea después, entonces se me ocurrió el iniciar este blog.<br />
<br />
Programing Street, procuraré llevarlos de la mano al mismo tiempo que el libro lo hace conmigo, así que podríamos llamar a este blog un curso de programación en c / c++ y java! <br />
<br />
Muchos cursos en internet que he leído son cortos y solo explican a un nivel avanzado, no llevan un orden de qué se debe aprender primero y qué después, las explicaciones pareciera que son para ellos mismo, NO EXPLICAN BIEN! para los newbies y no son nada interactivos con el lector, cosa que tratare de hacer en el curso, pondré actividades que me aparecen en el libro para pulir la practica.<br />
<br />
También publicare las dudas que me vayan surgiendo y con la respuesta que haya encontrado por si alguien tiene la misma duda podrá responderla.<br />
Y bueno ojala aprendan en el blog tanto como yo lo he hecho y hasta mas rápido.<br />
<br />
Como un aparte, o un Offtopic, publicare algunas novedades o utilidades, y hasta aplicaciones que vaya creando a lo largo del transcurso del libro. <br />
<br />
<a name='more'></a>.Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com5tag:blogger.com,1999:blog-3371348056941460779.post-57275692040179697532012-06-02T16:28:00.002-05:002012-06-06T10:22:54.512-05:00Curso de programación en LuaDev de -TheDoctor- // Primera parte : Variables 2a parte<br />
<div align="JUSTIFY" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';">Hola soy
-TheDoctor- (Javier León Toledo) y bienvenidos a mi curso de
programación : Curso LuaDev de -TheDoctor- empecemos :</span></span></div>
<div align="JUSTIFY" style="margin-bottom: 0cm;">
<br /></div>
<div align="CENTER" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';"><b>Variables 2a
parte</b></span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';">Iniciamos
el editor de texto descargado en la anterior entrada (</span></span><a href="http://programing-street.blogspot.com.es/2012/06/curso-de-programacion-en-luadev-de.html"><span style="color: black;"><span style="font-family: 'Times New Roman';">Aquí</span></span></a><span style="color: black;"><span style="font-family: 'Times New Roman';">)
de este tutorial y empezamos con las variables :</span></span></div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div align="CENTER" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';"><b>Variables de
texto</b></span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';"><b>Ejemplo:</b></span></span></div>
<blockquote style="margin-bottom: 0cm; margin-left: 2cm; margin-right: 2cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';">Nombre
= "-TheDoctor-"</span></span></blockquote>
<blockquote style="margin-bottom: 0cm; margin-left: 2cm; margin-right: 2cm;">
a = "El gato rojo se vuelve negro"</blockquote>
<blockquote style="margin-bottom: 0cm; margin-left: 2cm; margin-right: 2cm;">
b
= "Los elefantes se balancearon 4 veces"</blockquote>
<blockquote style="margin-bottom: 0cm; margin-left: 2cm; margin-right: 2cm;">
año = "2034"</blockquote>
<div style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';"><b>Explicación:</b></span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';">Todas las
variables de texto tienen que tener comillas para que LuaDev las
identifique como texto , de lo contrario nos daría error.</span></span></div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div align="CENTER" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';"><b>Variable de
boolean</b></span></span></div>
<div align="LEFT" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';"><b>Ejemplo:</b></span></span></div>
<blockquote style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';">Variable3 = true</span></span></blockquote>
<blockquote style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';">Variable4 =
false</span></span></blockquote>
<div style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';"><b>Explicación:</b></span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';">Todas las
variables de boolean tienen que ser <i>true</i> o <i>false</i> para
que LuaDev las identifique como boolean , de lo contrario
nos daría error , hay otro tipo pero son
operaciones lógicas que serán en el apartado de
operaciones.</span></span></div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div align="CENTER" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';"><b>Variable de nil</b></span></span></div>
<div align="LEFT" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';"><b>Ejemplo:</b></span></span></div>
<blockquote style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';">Variable5 = nil</span></span></blockquote>
<div style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';"><b>Explicación:</b></span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';">Todas las
variables de nil devén de ser nil u no ser declaradas para
que LuaDev las identifique como nil o nulas .</span></span></div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';"><b>Fin del
tutorial de Variables 2a parte.</b></span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: 'Times New Roman';"><b>No olvidéis comentar.</b></span></span></div>
<br />
<div style="margin-bottom: 0cm;">
<br /></div>Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-66882614594427527632012-06-01T15:09:00.001-05:002012-06-06T10:21:02.574-05:00Curso de programación en LuaDev de -TheDoctor- // Primera parte : Introduccion y Variables 1a parte<div style="text-align: justify;">
Hola soy -TheDoctor- (Javier León Toledo) y bienvenidos a mi curso de programación : Curso LuaDev de -TheDoctor- empecemos :<br />
<br />
<a name='more'></a><br /></div>
<div style="text-align: justify;">
Lo primero es lo primero descargar el interprete de <a href="http://adf.ly/9DStt">Aquí</a> y después descomprimid-lo.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://i1254.photobucket.com/albums/hh616/TheDoctor97/1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: justify;"><img border="0" height="238" src="http://i1254.photobucket.com/albums/hh616/TheDoctor97/1.png" width="320" /></a></div>
<div style="text-align: justify;">
Quedara mas o menos así.</div>
<div style="text-align: justify;">
Ahora debemos descargar un editor de texto que valla bien para programar , podemos elegir entre estos según el S.O. que uses :</div>
<div style="text-align: justify;">
-Windows (Cualquier Versión) : <a href="http://adf.ly/9Eqdg">Notepad++</a></div>
<div style="text-align: justify;">
-Linux (Cualquier Versión) : <a href="http://adf.ly/9Eqxa">Open Komodo</a></div>
<div style="text-align: justify;">
-MacOS (Cualquier Version) : <a href="http://adf.ly/9ErFp">Sublime Text</a></div>
<div style="text-align: justify;">
Y ahora os preguntareis "¿Donde está el compilador?"</div>
<div style="text-align: justify;">
pues he aquí lo mejor de LuaDev : <b>No necesita compilador </b>y eso es muy cómodo dado que no tienes que estar todo el tiempo compilado y re-compilado tu APP .</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Una vez descargado , descomprimido y instalado todo lo necesario ya tenemos todo lo necesario para empezar a programar en LuaDev.</div>
<div style="text-align: center;">
<b>Variables 1a Parte</b></div>
<div style="text-align: justify;">
Empezaremos con lo mas básico de todo , las variables numéricas :</div>
<div style="text-align: justify;">
Una variable numérica puede tomar cualquier forma numérica , veamos unos ejemplos :</div>
<div style="text-align: justify;">
<b>Ejemplos :</b></div>
<blockquote class="tr_bq">
variable1 = 1<br />
variable2 = 3.567</blockquote>
<div style="text-align: justify;">
<b>Explicación :</b></div>
<div style="text-align: justify;">
La variable1 es un número entero en este caso 1,</div>
<div style="text-align: justify;">
La variable2 es un número con decimal en este caso 3.567 , fíjense que el punto es la coma , tenedlo en cuenta en futuros programas.<br />
Podéis escribir esto en el archivo "script.lua" dentro de la carpeta del EBOOT.</div>
<div style="text-align: justify;">
<b>Fin del tutorial no olvidéis comentar</b></div>Anonymousnoreply@blogger.com2tag:blogger.com,1999:blog-3371348056941460779.post-24585661997375622852012-05-28T14:00:00.000-05:002012-05-28T14:01:33.276-05:00Me presento...Hola soy -TheDoctor- u Javier León Toledo y me presento a este blog para ayudar y enseñar a programar en Lua (Preferiblemente LuaDev) , en cuanto tenga tiempo (Muy Pronto) podre postear el primer tutorial.<br />
<br />
PD:Gracias AlexHg por aceptarme aquí , no te defraudaré.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-44517521719028503632012-05-27T15:59:00.000-05:002012-05-27T16:00:44.349-05:00Gana dinero con tus links en internet<br />
Bueno eh estado buscando un medio para ganar dinero con mi web, y de hecho encontré varias formas efectivas.<br />
Aquí puedes ver mas formas: (EDITARE DESPUÉS)<br />
Pero al seguir buscando a fondo encontré una pagina muy buena, se trata de adf.ly la cual funciona como un filtro para enlaces.<br />
<br />
<a name='more'></a><br /><br />
Esta vez hablamos de una pagina de ingresos reales! no de esas paginas a las que nos uníamos, que prometen milagros "Ganaras mucho dinero en poco tiempo tan solo por ver publicidad y leer correos", no esta vez no hablamos de eso. <br />
<br />
Te has preguntado alguna ves porque apare una barra hasta arriba de la pagina donde tienes que esperar 5 segundos y luego aparece un botón de dice: "saltar publicidad"? Pues es adf.ly, así funciona, te "obliga", por decirlo así, a ver publicidad por 5 segundos y esto es una ganancia para nosotros.<br />
<br />
¿Como paga?<br />
Esto nos preguntamos siempre antes de unirnos a una pagina de este tipo, pues bueno, esta pagina paga por cada 1000 clicks que den en un enlace o varios, y de acuerdo de donde sean las personas pagaran cierta cantidad. Aqui les dejo la tabla donde estan las ganancias de cada una de las ubicaciones:<a href="http://adf.ly/92Yts"> ->TABLA<-</a> Para buscar tu pais, o el pais que quieras presiona <span style="color: #3d85c6;">Ctrl + F</span><br />
<br />
¿Como reclamo mi dinero?<br />
Por <a href="http://adf.ly/92ZE1">PayPal</a> o <a href="http://adf.ly/92aac">AlertPay</a> y paga al llegar a la cantidad de 5 dolares.<br />
<br />
¿Referidos?<br />
Muchos ya sabemos lo que son los famosos referidos, pero para los que no, los referidos son a las personas que invitas por medio de un link único que te proporciona la pagina, y para premiarnos al invitar gente, te darán el 20% de lo que gane tu referido. eso sin quitarle nada a tu referido. Por ejemplo tu referido gana 100 dolares, a ti te darán 20 dolares y tu referido seguirá teniendo sus 100. ¿Te imaginas con 50 referidos de esa cantidad cuanto podrías ganar?<br />
<br />
¿Donde puedo aplicar mis links?<br />
También es muy simple, puedes hacerlo desde foros o paginas, con links a descargas o hacia videos, lo puedes poner en facebook o en twitter. la cosa es que uses tu imaginación en este punto.<br />
<br />
¿Como me registro?<br />
Simplemente tienes que entrar aqui: <a href="http://adf.ly/92XWH"> ->adf.ly<-</a> y registrarte como afiliado o "publisher".<br />
<br />
Y ahora les dejo un video con instrucciones detalladas de registro y mas cosas. <br />
<a href="http://adf.ly/92ZvP">->Video<-</a><br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/WK5mCDUPcDM?feature=player_embedded' frameborder='0'></iframe></div>
<br />
<br />
Ahora para terminar les dejo unos ejemplos de los banners que proporciona la pagina para poder referir gente desde tu sitio web.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://adf.ly/92XWH"><img border="0" height="76" src="http://adf.ly/images/banners/adfly.468x60.4.gif" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://adf.ly/92XWH"><img border="0" height="82" src="http://adf.ly/images/banners/adfly.468x60.5.gif" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://adf.ly/92XWH"><img border="0" height="82" src="http://adf.ly/images/banners/adfly.468x60.3.gif" width="640" /></a></div>
<br />Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-1295692220525398142012-05-20T22:49:00.002-05:002012-05-21T14:07:46.237-05:00Empresa de coches<div class="tr_bq">
<br /></div>
<h1 class="subject" style="background-color: white; border: 0px; font-family: arial, helvetica, clean, sans-serif; font-size: 21px; line-height: 1.2; margin: 0px 0px 8px; padding: 0px; text-align: left;">
<span style="color: #6aa84f;">
¿ayudaa cun un algoritmo condicional!!! :S?</span></h1>
<div class="content" style="background-color: white; margin: 0px 0px 0.2em; padding: 0px;">
<div style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px; text-align: left;">
<span style="color: #666666;"> "necesito mucha ayuda con este algoritmo!!</span></div>
<div style="text-align: left;">
<span style="color: #666666; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><br /></span></div>
<span style="color: #666666; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"></span><br />
<div style="text-align: left;">
<span style="color: #666666; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"> En una empresa venden autos con las condiciones siguientes:</span></div>
<span style="color: #666666;"><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;">
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"></span></span><br />
<div style="text-align: left;">
<span style="color: #666666;"><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"> Si el cliente es tipo1</span></span></div>
<span style="color: #666666;"><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;">
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
Se le descuenta el 5% </div>
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
Si el cliente es tipo 2</div>
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
Se le descuenta el 10%</div>
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
Si el cliente es tipo 3</div>
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
Se le descuenta el 15%</div>
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
Cuando el cliente realiza una compra se genera los datos siguientes:</div>
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
Datos de entrada</div>
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
Nombre de cliente: Pablo</div>
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
Tipo de cliente (1,2,3)</div>
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
cantidad de autos: 1</div>
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
Precio de auto: 100,000</div>
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
Elabora un programa que leea estos datos e imprima:</div>
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
Nombre del cliente: Pablo</div>
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
Subtotal a pagar: 100,000</div>
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
Descuento: 5,000</div>
</span><span style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><div style="text-align: left;">
Total a pagar: 95,000</div>
</span></span><br />
<div style="text-align: left;">
<span style="color: #666666;"><br /></span></div>
<span style="color: #666666; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"></span><br />
<div style="text-align: left;">
<span style="color: #666666; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"> gracias!! xD"</span></div>
</div>
<br />
<a name='more'></a>Respuesta de Luis Alejando: (Corregido por mi)<br />
Pueden ver el original aqui: <a href="http://es.answers.yahoo.com/question/index?qid=20120518203301AAsh4OF">http://es.answers.yahoo.com/question/index?qid=20120518203301AAsh4OF</a><br />
<span style="background-color: white; color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"><br /></span><br />
<blockquote>
<span style="color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: x-small;"><span style="line-height: 16px;"></span></span><br />
<blockquote>
<span style="color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: x-small;"><span style="line-height: 16px;"># include <stdio.h></span></span></blockquote>
<span style="color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: x-small;"><span style="line-height: 16px;">
<blockquote>
# include <stdlib.h></blockquote>
<blockquote>
int main ()</blockquote>
<blockquote>
{</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>char nombre [50];</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>int tipo;</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>double precio, descuento;</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span></blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>printf ("Nombre del cliente: ");</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>scanf ("%s", nombre);</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>printf ("\nTipo de cliente: ");</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>scanf ("%d", &tipo);</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>printf ("\nPrecio del auto: ");</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>scanf ("%lf", &precio);</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>switch (tipo)</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>{</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>case 1: descuento = 0.05; break;</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>case 2: descuento = 0.10; break;</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>case 3: descuento = 0.15; break;</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>}</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>system ("cls");</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>printf ("Nombre del cliente: %s\n", nombre);</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>printf ("Subtotal a pagar: %g\n", precio);</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>printf ("Descuento: %g\n", precio * descuento);</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>printf ("Total a pagar: %g\n", precio * (1 - descuento));</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>system ("Pause");</blockquote>
<blockquote>
<span class="Apple-tab-span" style="white-space: pre;"> </span>return 0;</blockquote>
<blockquote>
}</blockquote>
</span></span></blockquote>Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com7tag:blogger.com,1999:blog-3371348056941460779.post-38440144276445704852012-05-18T20:32:00.000-05:002012-05-18T20:32:38.969-05:00Condiciones y reglas para el editorEstos son los puntos que un editor en esta pagina debe tomar en cuenta a la hora de editar las entradas. <div>
<ul>
<li>Tratar de tener la mejor ortografía posible, es incomodo para el lector tener que leer tantas faltas.</li>
<li>Revisar que los códigos funcionen bien, podemos revisarlos con programas como <a href="http://zinjai.sourceforge.net/index.php?page=descargas.php">Zinjal</a>.</li>
<li>No hacer spam de otras paginas del editor sin antes consultarse con el administración.</li>
<li>Decirle al admin cada que se abra una nueva entrada de alguna entrada para que se implemente en el <a href="http://programing-street.blogspot.mx/2012/05/curso-de-programacion-en-cc-y-java.html">indice del curso</a>, para esto hay dos opciones: 1 enviar por correo, o 2 ponerlo en <a href="http://programing-street.blogspot.mx/2012/05/preguntas-y-sugerencias.html">comentarios</a>, </li>
<li>Para tener un orden, cuando se envíen, poner en que orden van los temas, por ejemplo: primero el tema 1 después el tema 2 y luego el 4, por decir algo. </li>
</ul>
<div>
Al ver como trabaja el editor ira subiendo en rango de permisos y la confianza con el admin.</div>
</div>
<div>
Primero. solo se podrá escribir nuevas entradas y editar estas mismas.</div>
<div>
Después. también se podrá editar y borrar las entradas de otras personas.</div>
<div>
Y Después. se podrá editar hasta el código Html de la pagina . </div>
<div>
<br /></div>
<div>
para mas detalle: <a href="mailto:alexxh42@gmail.com">alexxh42@gmail.com</a></div>Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-83640909232163157302012-05-17T15:28:00.000-05:002012-05-17T15:28:35.672-05:00Construcción de pirámides numéricas en C.<br />
<span style="font-family: 'Trebuchet MS', sans-serif;">/* pirámide de numeros en C. Ejemplo 01: filas de numeros */</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;">#include <stdio.h></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;">int main()</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;">{</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int k, i, j;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>char opcion;</span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="font-family: 'Trebuchet MS', sans-serif;"> </span></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"> printf ("Quieres escribir una piramide? (s/n) ");</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"> scanf ("%c",&opcion);</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"> if (opcion == 's' || opcion == 'S'){</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>while (opcion == 's' || opcion == 'S'){</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Introduce el numero de filas que tendra la piramide: ");</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>scanf("%i",&k);</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>getchar();</span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="font-family: 'Trebuchet MS', sans-serif;"> </span></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("\n");</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>for(i=1;i<=k;i++)</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>{</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>for(j=1;j<=i;j++)</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>{</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("%i ",j);</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("\n");</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="font-family: 'Trebuchet MS', sans-serif;"> </span></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("\n ¿Quieres construir otra piramide?(s/n): ");</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>scanf("%c",&opcion);</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>getchar();</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"> }</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>return 0;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;">}</span><br />Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-8718792317517263842012-05-13T17:20:00.004-05:002012-05-13T20:28:46.601-05:00Resolviendo problema de usuario Anonimo; randomización<blockquote class="tr_bq">
<i><span style="background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: justify;">Ayuda amigos con este programa!</span><span style="background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: justify;">código en C con la que el usuario pueda adivinar en un máximo de 7 oportunidades un número entero comprendido entre 1 y 100.En cada ciclo la computadora le dirá que el número que capturo el usuario es mayor o menor que el número que tiene la computadora.Utilice la función rand y srand para calcular el número a adivinar (recordar que el mismo tiene que ser entre 1 y 100). Utilice además la repetitiva Hacer-mientras. </span><span style="background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: justify;">Gracias por su ayuda!</span></i></blockquote>
Me pareció un bonito juego! bueno vamos a resolverlo! :)<br />
<span style="font-family: 'Trebuchet MS', sans-serif;"></span><br />
<a name='more'></a><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;">/* Juego 1.0: Adivina el numero! */</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"># include <stdio.h></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"># include <stdlib.h></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"># include <time.h></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;">int main ()</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;">{</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int contador;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int numero;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int aleatorio;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int opc;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>contador = 1;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>srand(time(NULL));</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Adivina el numero en que estoy pensando!, se encuentra ubicado en el rango de 1 a 100 (solo tienes 7 oportunidades)\n");</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>aleatorio = 1 + (rand() % 100);</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>while (contador <= 7) {</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>scanf("%d",&numero);</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if ( numero < 1 || numero > 100) {</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Error! recuerda que el numero esta ubicado entre 1 y 100\n");</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else {</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if(numero < aleatorio){</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if(numero == 6){</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("El numero que estoy pensando es mayor al numero que pusiste!\n");</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>opc = 7 - contador;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Te queda %d oportunidad, usala bien\n\a",opc);</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>++contador;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else{</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span> printf("El numero que estoy pensando es mayor al numero que pusiste!\n");</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span> opc = 7 - contador;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span> printf("Te quedan %d oportunidades\n",opc);</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span> ++contador;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else {</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if(numero == 6){</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("El numero que estoy pensando es menor al numero que pusiste!\n");</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>opc = 7 - contador;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Te queda %d oportunidad, usala bien\n\a",opc);</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>++contador;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else {</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf ("El numero que estoy pensando es menor al que pusiste!\n");</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>opc = 7 - contador;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Te quedan %d oportunidades\n",opc);</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>++contador;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (numero == aleatorio) {</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Ganaste el juego! el numero si era %d\a\n", aleatorio);</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else {</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (contador > 7){</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Lo siento perdiste el juego el numero era %d\a\n", aleatorio);</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>} /*Fin while*/</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>return 0;</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;">} /*fin main*/</span><br />
<div>
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-44804613176294175362012-05-13T16:50:00.000-05:002012-05-13T19:08:24.456-05:00Respondiendo a bydelyus Yahoo Respuestas<blockquote class="tr_bq">
<i><br /></i><i><b>
¿diseñar un programa en c?</b></i><i>que perimta ingresar las compras de un grupo de personas (5) luego con esta inf obtener el promedio de la compras</i></blockquote>
<a name='more'></a><br />
<br />
pues de hecho no es muy complicado, pero dependiendo a que te refieras, cuantas compras hará cada persona en caso que el usuario elija cuando parar aquí te haré el código!<br />
<br />
<br />
# include <stdio.h><br />
<br />
int main ()<br />
{<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>int suma;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>int contador;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>int promedio;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>int compra;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>int contp;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>int persona1, persona2, persona3, persona4, persona5;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>contador = 1;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>while (contador <= 5) {<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Ingrese las compras de la persona n° %d, cuando acabe teclee un 0\n", contador);<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>scanf("%d", &compra);<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>if (compra != 0)<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>if (contador == 1) {<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>++contp;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>persona1 = persona1 + compra;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>else{<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>if (contador == 2) {<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>++contp;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>persona2 = persona2 + compra;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>else{<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>if (contador == 3) {<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>++contp;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>persona3 = persona3 + compra;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>else{<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>if (contador == 4) {<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>++contp;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>persona4 = persona4 + compra;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>else{<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>++contp;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>persona5 = persona5 + compra;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>else{<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>printf("se ingreso el 0, termina las compras de la persona%d\n",contador);<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>++contador;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>suma = persona1 + persona2 + persona3 + persona4 + persona5;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>promedio = suma / 5;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>printf("el total de todos es: %d, el promedio total es: %d", suma, promedio);<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>return 0;<br />
}<br />Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-18400543960974426222012-05-13T00:37:00.002-05:002012-05-17T17:24:12.523-05:00Ramdomización o Aleatorización! en CAhh (satisfacción) valores random, valores random! (8) un tema que nos sera de mucha ayuda en muchos tipos de problemas, haz pensado en como funcionaria una maquina de casino en la computadora? ¿te gustaría crear un juego?<br />
Bueno pues este sera el momento de nuestro primer juego! que tal un juego de dados? o un traga monedas?<br />
Tal vez puedas hacer los dos, o tal vez mas! usa tu imaginación y tu lógica, También puedes comentar tus aplicaciones en la sección de <strike>preguntas y respuestas</strike> comentarios, después yo las pasare el nuevo blog (próximamente) de aplicaciones y scenery.<br />
<br />
<a name='more'></a>y bueno ahora, ya que estamos animados, comencemos con el tuto.<br />
<br />
Que ocuparemos para poder llegar a nuestro objetivo: Random.<br />
<br />
Libreria: <span style="color: #3d85c6;">stdlib.h</span><br />
<blockquote class="tr_bq">
Contiene prototipos de la funcion para la convercion de numero a texto y texto aa numeros, asignacion de memoria, numeros aleatorios entre otras funciones.</blockquote>
Funcion: <span style="color: #0b5394;">rand </span> Intrucción: <span style="color: #0b5394;">i = rand ();</span><br />
<blockquote class="tr_bq">
rand genera un numero entero sin signo entre 0 y RAND_MAX (definida en el encabezado <stdlib.h>)<br />
el valor debe ser menor que 32767, siendo eso todos los numero tienen la misma oportunidad de salir, sera solo cuestión de suerte.</blockquote>
Valor de escalamiento <span style="color: #0b5394;">rand() % x</span><br />
<br />
<blockquote class="tr_bq">
(x equibale a cualquier numero que queramos poner) si cambiamos ese x por un 6, cualquier numero ubicado entre 0 y 6 (RAND_MAX) podrá salir con la posibilidad de 1/7 % cada uno. para poder iniciar el rango en 1 necesitamos ponerlo asi:<br />
<span style="color: #0b5394;">1 + (rand () % 6)</span> ahora si el rango sera de entre 1 y 6 y tendrá 1/6 % de posibilidad de salir cada numero ubicado entre esos 2 </blockquote>
con código seria algo así:<br />
<span style="font-family: 'Courier New', Courier, monospace;"><br /></span><br />
<blockquote class="tr_bq">
<span style="font-family: 'Courier New', Courier, monospace;"># include <stdio.h><br /># include <stdlib.h><br />int main ()<br />{<br /> int i;<br /> for(i = 1; i <= 5; i++){<br /> printf("%10d", 1 + (rand() % 6);<br /> }<br /> return 0;<br />}</span></blockquote>
el código anterior genera esto en pantalla(supongamos):<br />
<br />
5 6 2 4 3<br />
5 numero aleatorios de entre 1 y 6, pero en realidad no es random, estos valores se volverán a poner cada vez que se abra el programa, <i>nada es lo que parece.</i> solo parecen random pero ya vimos que no es así.<br />
<br />
<b>¿como hacer random en realidad?</b><br />
una forma es mediante la entrada de daros por el usuario, esto se llama semilla.<br />
para esto ocuparemos <span style="color: #0b5394;">unsigned int. </span>que aunque finito es un numero muy extenso, de 0 a 4294967295, para poder hacer la randomización mas extensa. el tipo de dato de representacion es "%u" como el "%d" en el entero común.<br />
pero en realidad de esta forma no seria random en realidad, tampoco, como fue en el anterior.<br />
<b><br /></b><br />
<b>Ya deja de jugar conmigo me tienes levantado de los pelos... ¿como hago un random verdadero?!</b><br />
Ok, dejare tus pelos en paz, explicar lo anterior era necesario para comprender el porque de esta forma siguiente.<br />
<br />
Ahora ocuparemos otras cosas, aparte de las anteriores.<br />
<br />
Libreria: <span style="color: #0b5394;"><time.h></span><br />
<blockquote class="tr_bq">
Todo lo referente al tiempo: Fecha y hora</blockquote>
Funcion: <span style="color: #0b5394;">time ()</span> ---> <span style="color: #0b5394;">time (NULL)</span><br />
<blockquote class="tr_bq">
time () pone la hora del día en formato de Horas:Minutos:Segundos, al poner el NULL entre el parentesis lo que estamos haciendo es romper el formato dejándolo solo en Segundos. dividiendo las horas entre 60, los minutos entre 60 y dejando la cantidad de segundos.</blockquote>
<br />
<div style="text-align: center;">
_______________ESO SERA TODO LO NECESARIO_______________ </div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: left;">
Ahora vamos a programar nuestro juego! Esta ves sera un traga monedas en linea recta de 3 filas y de 6 figuras. recordemos las reglas del juego: para poder sacar un premio (dependiendo la figura que se saque) tiene que ser en linea recta de 3 valores iguales:</div>
<div style="text-align: left;">
</div>
<ol>
<li>A-A-A (premio maximo! gana 1,000,000 y 10 fichas mas!)</li>
<li>B-B-B (gana 100,000 puntos!)</li>
<li>X-X-X (gana 50,000 puntos!)</li>
<li>G- - - ( ganaran 1,000 puntos, solo si uno de los 3 es G)</li>
<li>Z-Z-Z (gana 2 fichas mas!)</li>
<li>F-F-F (gana 1 ficha,(otra oportunidad))</li>
</ol>
<br />
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
Ya se establecieron los valores, cabe mencionar que el juego es de mi autoría, ahora vamos a empezar el codigo.</div>
<div style="text-align: left;">
se empieza el juego con 20 fichas, al final del juego (cuando se acaben las fichas) se dice cuantos puntos se acumularon</div>
<div style="text-align: left;">
</div>
<ol>
<li><span style="font-family: 'Trebuchet MS', sans-serif;">/* Programa 4.0: juego traga monedas de casino*/</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"># include <stdio.h></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"># include <stdlib.h></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"># include <time.h></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;">int main ()</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;">{ /*Declarando variables */</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int fichas; </span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int jt;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int cas1;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int cas2;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int cas3;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int puntos;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int A = 'A', B = 'B', X = 'X', G = 'G', Z = 'Z', F = 'F';</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>/* fin de declaracion */</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>fichas = 20;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>puntos = 0;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>/* utilizando el segundos del día para randomizar */</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>srand (time(NULL));</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf (" Tu estatus actual es Fichas: %d, Puntos: %d\n", fichas, puntos);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>while (fichas > 0) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Para jalar la palanca del traga monedas escriba: 1");</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>scanf("%d\n",&jt);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if(jt != 1) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Error 001: no se introdujo 1, usted itrodujo:%d", jt);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>--fichas; /* resta una ficha y abajo ramdomiza */</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>cas1 = 1 + (rand () % 6);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>cas2 = 1 + (rand () % 6);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>cas3 = 1 + (rand () % 6);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>/* lanza a pantalla las letras */</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>/* casilla 1 */</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas1 == 1) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("%c", A);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas1 == 2) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("%c", B);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas1 == 3) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("%c", X);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas1 == 4) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("%c", G);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas1 == 5) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("%c", Z);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas1 == 6) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("%c", F);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>/* casilla 2 */</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas2 == 1) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("-%c", A);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas2 == 2) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("-%c", B);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas2 == 3) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("-%c", X);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas2 == 4) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("-%c", G);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas2 == 5) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("-%c", Z);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas2 == 6) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("-%c", F);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>/* casilla 3 */</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas3 == 1) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("-%c\n", A);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas3 == 2) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("-%c\n", B);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas3 == 3) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("-%c\n", X);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas3 == 4) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("-%c\n", G);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas3 == 5) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("-%c\n", Z);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas3 == 6) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("-%c\n", F);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>/* calcula los premios */</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas1 == 1 && cas2 == 1 && cas3 == 1) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("<span style="font-size: x-small;">Premio Mayor! Ganaste 1millon de puntos y 10 fichas</span>\n");</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>fichas = fichas + 10;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>puntos = puntos + 1000000;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas1 == 2 && cas2 == 2 && cas3 == 2) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Ganaste 100,000 puntos!\n");</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>puntos = puntos + 100000;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas1 == 3 && cas2 == 3 && cas3 == 3) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Ganaste 50,000 puntos!\n");</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>puntos = puntos + 50000;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas1 == 4 || cas2 == 4 || cas3 == 4) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Ganaste 1,000 puntos!\n");</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>puntos = puntos + 1000;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas1 == 5 && cas2 == 5 && cas3 == 5) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Ganaste 2 fichas!\n");</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>fichas = fichas + 2;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (cas1 == 6 && cas2 == 6 && cas3 == 6) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("Ganaste 1 ficha!\n");</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>fichas = fichas + 1;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>else</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("<span style="font-size: x-small;">Lo siento, vuelve a intentarlo</span>\n");</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("<span style="font-size: x-small;"> Tu estado actual del juego es: Fichas: %d - Puntos: %d\n", fichas, puntos);</span></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (fichas == 0){</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("FIN DEL JUEGO!\n"); /* finaliza el juego */</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>} </span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>return 0;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;">} /* fin main */</span></li>
</ol>
<div>
<span style="color: #3d85c6; font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div>
<span style="color: #3d85c6; font-family: 'Trebuchet MS', sans-serif;">Resultado del juego: </span></div>
<blockquote class="tr_bq">
<span style="font-family: 'Trebuchet MS', sans-serif;">fichas: 20, puntos: 0</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: 'Trebuchet MS', sans-serif;"></span><span style="font-family: 'Trebuchet MS', sans-serif;"><span style="color: #6aa84f;">Para jalar la palanca escriba 1 [_7_]</span></span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: 'Trebuchet MS', sans-serif;">Error 001: no se introdujo 1, usted introdujo: 7</span> </blockquote>
<blockquote class="tr_bq">
<span style="color: #6aa84f;"><span style="font-family: 'Trebuchet MS', sans-serif;">Para jalar la palanca escriba 1 [_1_]</span> </span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: 'Trebuchet MS', sans-serif;">A-B-Z </span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: 'Trebuchet MS', sans-serif;">Lo siento, vuelve a intentarlo</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: 'Trebuchet MS', sans-serif; font-size: x-small;">Tu estado actual del juego es: </span><span style="font-family: 'Trebuchet MS', sans-serif;">fichas: 19, puntos: 0</span> </blockquote>
<blockquote class="tr_bq">
<span style="color: #6aa84f;"><span style="font-family: 'Trebuchet MS', sans-serif;">Para jalar la palanca escriba 1 [_1_]</span> </span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: 'Trebuchet MS', sans-serif;">A-A-A</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: 'Trebuchet MS', sans-serif;">Premio Mayor! Ganaste 1millon de puntos y 10 fichas</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: 'Trebuchet MS', sans-serif; font-size: x-small;">Tu estado actual del juego es: </span><span style="font-family: 'Trebuchet MS', sans-serif;">fichas: 28, puntos: 1 000 000 </span> </blockquote>
<blockquote class="tr_bq">
<span style="color: #6aa84f;"><span style="font-family: 'Trebuchet MS', sans-serif;">Para jalar la palanca escriba 1 [_1_]</span> </span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: 'Trebuchet MS', sans-serif;">B-G-Z</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: 'Trebuchet MS', sans-serif;">Ganaste 1,000 puntos!</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: 'Trebuchet MS', sans-serif; font-size: x-small;">Tu estado actual del juego es: </span><span style="font-family: 'Trebuchet MS', sans-serif;">fichas: 27, puntos: 1 001 000</span><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span><span style="font-family: 'Trebuchet MS', sans-serif;">... <span style="color: #3d85c6;">(27 y un poco mas fichas despues)</span></span></blockquote>
<blockquote class="tr_bq">
<span style="color: #6aa84f;"><span style="font-family: 'Trebuchet MS', sans-serif;">Para jalar la palanca escriba 1 [_1_]</span> </span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: 'Trebuchet MS', sans-serif;">Z-Z-B</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: 'Trebuchet MS', sans-serif;">Lo siento, vuelve a intentarlo</span> </blockquote>
<blockquote class="tr_bq">
<span style="font-family: 'Trebuchet MS', sans-serif; font-size: x-small;">Tu estado actual del juego es: </span><span style="font-family: 'Trebuchet MS', sans-serif;">fichas: 0, puntos: 7 553 000</span> </blockquote>
<blockquote class="tr_bq">
<span style="color: #cc0000; font-family: 'Trebuchet MS', sans-serif;">FIN DEL JUEGO!</span></blockquote>
<div>
<span style="color: #cc0000; font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div>
<span style="color: #3d85c6; font-family: 'Trebuchet MS', sans-serif; text-align: center;">y así termina el programa, tiene una simple función, demasiado largo no? tal vez aya formas de optimizarlo, de forma que se ocupen menos funciones. y no esta para menos que 1:30 horas haciéndolo, de hecho eso me tarde. espero que lo puedan comprender, me rompí la cabeza haciéndolo y un buen juego que tengo en mente sera una suite casino para ipod, android, ubuntu y windows. lo publicare en mis proyectos en un blog en el que estoy trabajando.</span></div>
<div style="text-align: center;">
<span style="color: #3d85c6; font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: 'Trebuchet MS', sans-serif;">y bueno este es el final de la entrada mas extensa que eh hecho, pero disfrute haciéndola, espero que sientas lo mismo estudiándola y comprendiéndola. </span></div>
<div style="text-align: left;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: 'Trebuchet MS', sans-serif;">Saludos!</span><br />
<div style="text-align: center;">
<span style="color: #cc0000;"><span style="font-family: 'Trebuchet MS', sans-serif;">____________________EDITO POR OPTIMIZACIÓN!</span><span style="font-family: 'Trebuchet MS', sans-serif;">____________________</span></span></div>
<div style="text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: 'Trebuchet MS', sans-serif;">Una mejor forma de resolver el problema es usando la sentencia <span style="color: #0b5394;">switch </span>para optimizar el programa, osea hacerlo mas estable, y que ocupe menos ram al ejecutarse.</span></div>
<div style="text-align: left;">
<span style="font-family: 'Trebuchet MS', sans-serif;"></span></div>
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span><br />
<br />
<ol>
<li><span style="font-family: 'Trebuchet MS', sans-serif;">/* Programa 4.0: juego traga monedas de casino con switch*/</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"># include <stdio.h></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"># include <stdlib.h></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"># include <time.h></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;">int main ()</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;">{ /*Declarando variables */</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">int fichas; </span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">int jt;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">int cas1;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">int cas2;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">int cas3;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">int puntos;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">int A = 'A', B = 'B', X = 'X', G = 'G', Z = 'Z', F = 'F';</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">/* fin de declaracion */</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">fichas = 20;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">puntos = 0;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">/* utilizando el segundos del día para randomizar */</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">srand (time(NULL));</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf (" Tu estatus actual es Fichas: %d, Puntos: %d\n", fichas, puntos);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">while (fichas > 0) {</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("Para jalar la palanca del traga monedas escriba en numero 1:\n");</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">scanf("%d\n",&jt);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">if(jt != 1) {</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("Error 001: no se introdujo 1, usted itrodujo:%d", jt);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">}</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">else {</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">--fichas; /* resta una ficha y abajo ramdomiza */</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">cas1 = 1 + (rand () % 6);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">cas2 = 1 + (rand () % 6);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">cas3 = 1 + (rand () % 6);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">/* lanza a pantalla las letras */</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">/* casilla 1 */</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">switch (cas1) {</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> case 1: </span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("%c", A);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> case 2:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("%c", B);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> case 3:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("%c", X);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> case 4:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("%c", G);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> case 5:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("%c", Z);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> case 6:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("%c", F);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">}</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">/* casilla 2 */</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">switch (cas2) {</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">case 1:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("-%c", A);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">case 2:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("-%c", B);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">case 3:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("-%c", X);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">case 4:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("-%c", G);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">case 5:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("-%c", Z);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">case 6:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("-%c", F);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">}</span><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">/* casilla 3 */</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">switch (cas3 ) {</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> case 1:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("-%c\n", A);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> case 2:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("-%c\n", B);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> case 3:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("-%c\n", X);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> case 4:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("-%c\n", G);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> case 5:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("-%c\n", Z);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;"> case 6:</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("-%c\n", F);</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">break;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">}</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">/* calcula los premios */</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">if (cas1 == 1 && cas2 == 1 && cas3 == 1) {</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("Premio Mayor! Ganaste 1millon de puntos y 10 fichas\n");</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">fichas = fichas + 10;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">puntos = puntos + 1000000;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">}</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">else</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">if (cas1 == 2 && cas2 == 2 && cas3 == 2) {</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("Ganaste 100,000 puntos!\n");</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">puntos = puntos + 100000;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">}</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">else</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">if (cas1 == 3 && cas2 == 3 && cas3 == 3) {</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("Ganaste 50,000 puntos!\n");</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">puntos = puntos + 50000;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">}</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">else</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">if (cas1 == 4 || cas2 == 4 || cas3 == 4) {</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("Ganaste 1,000 puntos!\n");</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">puntos = puntos + 1000;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">}</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">else</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">if (cas1 == 5 && cas2 == 5 && cas3 == 5) {</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("Ganaste 2 fichas!\n");</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">fichas = fichas + 2;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">}</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">else</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">if (cas1 == 6 && cas2 == 6 && cas3 == 6) {</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("Ganaste 1 ficha!\n");</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">fichas = fichas + 1;</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">}</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">else</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("Lo siento, vuelve a intentarlo\n");</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">}</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf(" Tu estado actual del juego es: Fichas: %d - Puntos: %d\n", fichas, puntos);</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">}</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">if (fichas == 0){</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">printf("FIN DEL JUEGO!\n"); /* finaliza el juego */</span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">} </span></li>
<li><span class="Apple-tab-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: pre;"> </span><span style="font-family: 'Trebuchet MS', sans-serif;">return 0;</span></li>
<li><span style="font-family: 'Trebuchet MS', sans-serif;">} /* fin main */</span></li>
</ol>
<br />
<div>
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
</div>Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com5tag:blogger.com,1999:blog-3371348056941460779.post-70397422007994972142012-05-12T21:38:00.003-05:002012-05-12T21:38:52.829-05:00Tipos de datos en C<br />
<h2 style="background-attachment: initial; background-clip: initial; background-color: white; background-image: none; background-origin: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; font-family: sans-serif; font-size: 19px; font-weight: normal; line-height: 19px; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em; text-align: center;">
<span style="color: #3d85c6;">Esta sacadisimo de wikipedia! no me critiquen hahaha</span></h2>
<h2 style="background-attachment: initial; background-clip: initial; background-color: white; background-image: none; background-origin: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; font-family: sans-serif; font-size: 19px; font-weight: normal; line-height: 19px; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em; text-align: center;">
Enteros</h2>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
Los enteros son el tipo de dato más primitivo en C. Se usan para representar números enteros. Pero siempre se pueden encontrar otras aplicaciones para los números enteros. En general se pueden usar para representar cualquier variable discreta.</div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
Los tipos de datos enteros son: <code style="background-color: #f9f9f9; font-family: monospace, Courier;">short</code>, <code style="background-color: #f9f9f9; font-family: monospace, Courier;">int</code>, <code style="background-color: #f9f9f9; font-family: monospace, Courier;">long</code> y <code style="background-color: #f9f9f9; font-family: monospace, Courier;">long long</code>.</div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
Es decir que para el lenguaje C existen diferentes tamaños de números enteros que, según el compilador y la plataforma de hardware, pueden tener desde 1 byte hasta 8 bytes (para más detalles busca en la <a href="http://es.wikibooks.org/wiki/Programaci%C3%B3n_en_C/Referencia" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;" title="Programación en C/Referencia">referencia</a>).</div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
Además, el lenguaje C hace la distinción de si el entero es con signo o sin signo (<code style="background-color: #f9f9f9; font-family: monospace, Courier;">signed</code> o <code style="background-color: #f9f9f9; font-family: monospace, Courier;">unsigned</code>). La forma de declarar un entero es con uno de los tipos de datos que sean enteros según el tamaño que se quiera. En caso de que no se declare si es con signo o sin signo, se toma con signo.</div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
</div>
<a name='more'></a><br />
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
Algunos ejemplos de declaraciones de enteros:</div>
<div class="mw-geshi mw-content-ltr" dir="ltr" style="background-color: white; direction: ltr; font-family: sans-serif; line-height: 19px;">
<div class="c source-c" style="font-family: monospace; line-height: normal;">
<pre class="de1" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; border-bottom-color: white; border-bottom-style: none; border-bottom-width: 0px; border-image: initial; border-left-color: white; border-left-style: none; border-left-width: 0px; border-right-color: white; border-right-style: none; border-right-width: 0px; border-top-color: white; border-top-style: none; border-top-width: 0px; line-height: 1.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: top;"> <span class="kw4" style="color: #993333;">int</span> a<span class="sy0" style="color: #339933;">;</span>
<span class="kw4" style="color: #993333;">unsigned</span> <span class="kw4" style="color: #993333;">int</span> a<span class="sy0" style="color: #339933;">;</span>
<span class="kw4" style="color: #993333;">signed</span> <span class="kw4" style="color: #993333;">long</span> a<span class="sy0" style="color: #339933;">;</span>
<span class="kw4" style="color: #993333;">signed</span> <span class="kw4" style="color: #993333;">long</span> <span class="kw4" style="color: #993333;">long</span> a <span class="sy0" style="color: #339933;">=</span> <span class="nu0" style="color: #0000dd;">10000000</span><span class="sy0" style="color: #339933;">;</span><span style="font-size: 1em;">
</span></pre>
</div>
</div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
Todos los números son representados en memoria mediante una cadena de bits. En el caso de los números con signo, el <b><a class="extiw" href="http://es.wikipedia.org/wiki/Bit_m%C3%A1s_significativo" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #663366; text-decoration: none;" title="w:Bit más significativo">bit más significativo</a></b> es el que se usa para representar el signo. La representación de los números negativos se realiza mediante el <b><a class="extiw" href="http://es.wikipedia.org/wiki/Complemento_a_dos" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #663366; text-decoration: none;" title="w:Complemento a dos">complemento a dos</a></b>, que es una técnica que permite operar con los números negativos de forma lógica.</div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
Sólo a modo de ejemplo, la representación en memoria de un -8 en una variable de 2 bytes, entera, con signo sería la siguiente:</div>
<pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: monospace, Courier; font-size: 13px; line-height: 1.3em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"><code style="font-family: monospace, Courier;"> 1111111111111000</code></pre>
<h2 style="background-attachment: initial; background-clip: initial; background-color: white; background-image: none; background-origin: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; font-family: sans-serif; font-size: 19px; font-weight: normal; line-height: 19px; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;">
<span class="mw-headline" id="Flotantes">Flotantes</span></h2>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
Se denomina flotantes a los tipos de datos que representan a los números reales, ya que utilizan un sistema de representación basado en la técnica de <b><a class="extiw" href="http://es.wikipedia.org/wiki/Coma_flotante" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #663366; text-decoration: none;" title="w:Coma flotante">coma flotante</a></b>, que permite operar con números reales de diversas magnitudes, mediante un número decimal llamado <b><a class="extiw" href="http://es.wikipedia.org/wiki/Mantisa" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #663366; text-decoration: none;" title="w:Mantisa">mantisa</a></b> y un exponente que indica el <b><a class="extiw" href="http://es.wikipedia.org/wiki/Orden_de_magnitud" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #663366; text-decoration: none;" title="w:Orden de magnitud">orden de magnitud</a></b>.</div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
El tipo de dato flotante en lenguaje C sólo tiene dos tamaños: el <code style="background-color: #f9f9f9; font-family: monospace, Courier;">float</code> y el <code style="background-color: #f9f9f9; font-family: monospace, Courier;">double</code>, que son 4 bytes y 8 bytes respectivamente. Se los puede utilizar tanto para representar números decimales, como para representar números enteros con un orden de magnitud muy grande.</div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
La forma de declarar una variable flotante es escribiendo en una línea uno de los tipos de datos flotantes y a continuación el nombre de la variable y tal vez algún valor que se les quiera dar.</div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
Algunos ejemplos:</div>
<div class="mw-geshi mw-content-ltr" dir="ltr" style="background-color: white; direction: ltr; font-family: sans-serif; line-height: 19px;">
<div class="c source-c" style="font-family: monospace; line-height: normal;">
<pre class="de1" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; border-bottom-color: white; border-bottom-style: none; border-bottom-width: 0px; border-image: initial; border-left-color: white; border-left-style: none; border-left-width: 0px; border-right-color: white; border-right-style: none; border-right-width: 0px; border-top-color: white; border-top-style: none; border-top-width: 0px; line-height: 1.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: top;"><span style="font-size: 1em;"> </span> <span class="kw4" style="color: #993333;">float</span> a<span class="sy0" style="color: #339933;">;</span>
<span class="kw4" style="color: #993333;">double</span> a <span class="sy0" style="color: #339933;">=</span> <span class="nu19" style="color: purple;">1e23</span><span class="sy0" style="color: #339933;">;</span>
<span class="kw4" style="color: #993333;">double</span> a <span class="sy0" style="color: #339933;">=</span> <span class="nu16" style="color: purple;">3.1416</span><span class="sy0" style="color: #339933;">;</span>
<span class="kw4" style="color: #993333;">float</span> a <span class="sy0" style="color: #339933;">=</span> <span class="nu19" style="color: purple;">4e-9</span><span class="sy0" style="color: #339933;">;</span>
<span class="kw4" style="color: #993333;">double</span> a <span class="sy0" style="color: #339933;">=</span> <span class="sy0" style="color: #339933;">-</span><span class="nu0" style="color: #0000dd;">78</span><span class="sy0" style="color: #339933;">;</span><span style="font-size: 1em;">
</span></pre>
</div>
</div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
Hay que tener en cuenta que aunque los valores flotantes son más convenientes para algunas aplicaciones, hay casos en los que se prefieren los enteros. Esto se debe a que los números flotantes no necesariamente tienen soporte de hardware, en particular en las plataformas <b><a class="extiw" href="http://es.wikipedia.org/wiki/Sistema_integrado" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #663366; text-decoration: none;" title="w:Sistema integrado">integradas</a></b>. Una alternativa que se utiliza en estas situaciones es interpretar los enteros como decimales de forma que 150 se interprete como 1.5 y 2345 como 23.45.</div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
Para el caso de los flotantes de 4 bytes, se utiliza 1 bit para el signo, 8 bits para el exponente y 23 bits para el valor del número. El procedimiento para almacenar un número en una variable flotante es el siguiente:</div>
<ol style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; list-style-image: none; margin-bottom: 0px; margin-left: 3.2em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<li style="margin-bottom: 0.1em;">Se convierte a binario la parte entera.</li>
<li style="margin-bottom: 0.1em;">Se coloca el signo en el bit más significativo de la misma manera que en los enteros (1 para el - y 0 para el +).</li>
<li style="margin-bottom: 0.1em;">Se mueve la coma (en la representación binaria de la parte entera) hasta que esté a la derecha del primer uno y éste se descarta (el uno más significativo). El valor del exponente será el número de posiciones que se movió la coma. El exponente usa la representación de un entero con complemento a dos.</li>
<li style="margin-bottom: 0.1em;">Se convierte en binario la parte decimal del número. Esto usando el peso de los bits. el bit decimal más significativo vale 1/2, el siguiente vale 1/4, el otro 1/8, el otro 1/16 y así hasta completar lo que falta para los 23bits del valor.</li>
<li style="margin-bottom: 0.1em;">Se concatena todo y ese es el valor flotante representado en memoria.</li>
</ol>
<h2 style="background-attachment: initial; background-clip: initial; background-color: white; background-image: none; background-origin: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; font-family: sans-serif; font-size: 19px; font-weight: normal; line-height: 19px; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;">
<span class="editsection" style="-webkit-user-select: none; float: right; font-size: 13px; margin-left: 5px;">[<a href="http://es.wikibooks.org/w/index.php?title=Programaci%C3%B3n_en_C/Tipos_de_datos&action=edit&section=4" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;" title="Editar sección: Caracteres">editar</a>]</span><span class="mw-headline" id="Caracteres">Caracteres</span></h2>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
Los caracteres se representan utilizando el tipo <code style="background-color: #f9f9f9; font-family: monospace, Courier;">char</code>, que tiene sólo 1 byte de tamaño. Este tipo se utiliza para representar los 256 caracteres de la tabla de caracteres del sistema. El tipo <code style="background-color: #f9f9f9; font-family: monospace, Courier;">char</code> es también un tipo entero, ya que puede tomar valores de 0 a 255.</div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
En cuanto a la forma de declarar variables de tipo <code style="background-color: #f9f9f9; font-family: monospace, Courier;">char</code> es la misma forma que con los otros tipos.</div>
<div class="mw-geshi mw-content-ltr" dir="ltr" style="background-color: white; direction: ltr; font-family: sans-serif; line-height: 19px;">
<div class="c source-c" style="font-family: monospace; line-height: normal;">
<pre class="de1" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; border-bottom-color: white; border-bottom-style: none; border-bottom-width: 0px; border-image: initial; border-left-color: white; border-left-style: none; border-left-width: 0px; border-right-color: white; border-right-style: none; border-right-width: 0px; border-top-color: white; border-top-style: none; border-top-width: 0px; line-height: 1.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: top;"> <span class="kw4" style="color: #993333;">char</span> a<span class="sy0" style="color: #339933;">;</span>
<span class="kw4" style="color: #993333;">char</span> a <span class="sy0" style="color: #339933;">=</span> <span class="st0" style="color: red;">'s'</span><span class="sy0" style="color: #339933;">;</span>
<span class="kw4" style="color: #993333;">char</span> a <span class="sy0" style="color: #339933;">=</span> <span class="nu0" style="color: #0000dd;">48</span><span class="sy0" style="color: #339933;">;</span><span style="font-size: 1em;">
</span></pre>
</div>
</div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
Como puedes ver, se le puede asignar un número a una variable <code style="background-color: #f9f9f9; font-family: monospace, Courier;">char</code>, ya que se trata de un tipo entero. En algunas situaciones particulares se utiliza el tipo <code style="background-color: #f9f9f9; font-family: monospace, Courier;">char</code> para contadores, porque permite que ocupen sólo un byte en memoria.</div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
Es importante notar que con la llegada de la codificación <b><a class="extiw" href="http://es.wikipedia.org/wiki/UTF-8" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #663366; text-decoration: none;" title="w:UTF-8">UTF-8</a></b>, los caracteres de los diversos idiomas pueden ocupar 1, 2, 3 o 4 bytes, de modo que el tipo <code style="background-color: #f9f9f9; font-family: monospace, Courier;">char</code> ya no alcanza para la representación de todos los caracteres. Por ello, el estándar C99 introduce el tipo <code style="background-color: #f9f9f9; font-family: monospace, Courier;">wchar</code> que puede ocupar más de 1 byte, según sea necesario para la codificación utilizada por el sistema.</div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
<br /></div>
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">
<br /></div>Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-73803479137922363432012-05-12T21:19:00.004-05:002012-05-13T23:09:34.578-05:00Prototipo de la función<span style="font-family: Georgia, 'Times New Roman', serif;">Es una de las características mas importantes en C, <span style="background-color: white;">En el prototipo se indican el tipo de dato que retorna la función, el número, tipo y orden de parámetros que recibe la misma. El compilador utiliza los prototipos para verificar las llamadas a funciones. Antes el prototipado no existía y el compilador no podía detectar ciertos errores.</span> </span><br />
<span style="font-family: Georgia, 'Times New Roman', serif;">El siguiente prototipo nos sirve para sacar la cantidad máxima entre los 3 números.</span><br />
<br />
int maximo (int x, int y, int z)<br />
<span style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span style="font-family: Georgia, 'Times New Roman', serif;">Se ve extraña no?</span><br />
<span style="font-family: Georgia, 'Times New Roman', serif;">para que no te confundas tanto pondré el código completo...</span><br />
<span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"></span><br />
<a name='more'></a><ol>
<li><span style="font-family: 'Courier New', Courier, monospace;">/* Programa 3.0: Sacando el numero máximo de entre 3 números. */</span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;"># include <stdio.h></span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;"><br /></span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;"><span style="color: red;">int maximo (int x, int y, int z);</span> /* el prototipo lleva punto y coma */</span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;">int main ()</span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;">{</span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int numero1;</span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int numero2;</span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int numero3;</span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("introduzca 3 numeros enteros\n");</span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>scanf("%d%d%d", &numero1, &numero2, &numero3);</span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>printf("el maximo es %d", maximo (numero1, numero2, numero3) );</span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>return 0;</span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;">}</span></li>
<li><span style="color: red; font-family: 'Courier New', Courier, monospace;">int maximo (int x, int y, int z) </span></li>
<li><span style="color: red; font-family: 'Courier New', Courier, monospace;">{</span></li>
<li><span style="color: red; font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>int max = x;</span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="color: red; white-space: pre;"> </span></span></li>
<li><span style="color: red; font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (y > max) {</span></li>
<li><span style="color: red; font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>max = y;</span></li>
<li><span style="color: red; font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></li>
<li><span style="color: red; font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (z > max) </span></li>
<li><span style="color: red; font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>max = z;</span></li>
<li><span style="color: red; font-family: 'Courier New', Courier, monospace;"><br /></span></li>
<li><span style="color: red; font-family: 'Courier New', Courier, monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>return max;</span></li>
<li><span style="color: red; font-family: 'Courier New', Courier, monospace;">}</span></li>
<li><span style="font-family: 'Courier New', Courier, monospace;"><br /></span></li>
</ol>
<div>
<span style="font-family: Georgia, 'Times New Roman', serif;">Ya se comprende mas no es así? para que se entienda mejor puse en rojo lo que es el prototipo de la función, como ves primero invocamos el prototipo y luego lo describimos. pero de que nos sirve esto? simple, para no estar escribiendo la misma función una y otra y otra ves en caso de que el programa así lo requiera para llegar al resultado, como lo ves es así de simple, pero me costo mucho trabajo entenderlo, pues el libro por una extraña razón no lo explicaba bien. </span></div>
<div>
<span style="font-family: Georgia, 'Times New Roman', serif;"><br /></span></div>
<div>
<span style="font-family: Georgia, 'Times New Roman', serif;">Y bueno esto es todo por ahora, ¿se comprendió todo? si tienes alguna duda no pienses en publicarla, con gusto te responderé. en caso de que falte algo con gusto también lo agregare.</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><b><span style="color: #38761d;">Agrego dato importante</span> <a href="http://www.alegsa.com.ar/Notas/112.php">URL_Pagina</a></b></span><br />
<blockquote>
<span style="color: #3d85c6;"><span style="background-color: white; font-family: Tahoma; font-size: x-small;">Este prototipo indica que la función de nombre </span><strong style="background-color: white; font-family: Tahoma; font-size: small;">máximo</strong><span style="background-color: white; font-family: Tahoma; font-size: x-small;"> retorna como resultado un valor de tipo entero. Además informa que la función debe ser llamada con tres parámetros del tipo entero también.</span><br style="background-color: white; font-family: Tahoma; font-size: small;" /><span style="background-color: white; font-family: Tahoma; font-size: x-small;">El prototipo también sirve para la coerción de argumentos, o sea, si la función es llamada con valores de otro tipo diferentes a los definidos en el prototipo de esa función, el compilador tratará de convertir esos valores a los tipos de datos correspondientes declarados en el prototipo (esto funcionará siempre y cuando sea posible la conversión entre esos tipos de datos). Por ejemplo, si la función espera un entero y recibe un decimal, intentará convertir ese decimal al entero truncando la parte decimal, lo cual puede generar errores si la exactitud de ese dato es importante. Por esta razón se debe tener mucho cuidado en la coerción de tipos automática. </span><br style="background-color: white; font-family: Tahoma; font-size: small;" /><span style="background-color: white; font-family: Tahoma; font-size: x-small;">El prototipado de funciones puede omitirse cuando se programa; el compilador formará el prototipo dependiendo de la primera aparición de la función. También, por omisión, el compilador asume que toda función regresa un valor del tipo entero de forma predeterminada.</span></span></blockquote>
</div>Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com5tag:blogger.com,1999:blog-3371348056941460779.post-82142124208347888512012-05-12T17:17:00.004-05:002012-05-12T18:25:18.499-05:00Gana dinero en internet! Beruby<br />
<div style="background-color: white; line-height: 1.5em; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;">
<div style="font-size: 12px;">
<object height="344" style="clear: left; float: left;" width="425"><embed src="http://www.youtube.com/v/oIBDXt5is4o&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></object></div>
<span style="background-color: white; color: #3d85c6; font-family: verdana; font-size: large; line-height: 1.5em;">Que es Beruby?</span><br />
<span style="background-color: white; color: #3d85c6; font-family: verdana; font-size: large; line-height: 1.5em;"><br /></span><br />
<div style="font-size: 12px;">
<span style="font-family: verdana;"> Bueno vamos a empezar </span><br />
<span style="font-family: verdana;"> explicando acerca de qué se trata</span><br />
<span style="font-family: verdana;"> BeRuby..</span></div>
<div style="font-size: 12px;">
<span style="font-family: verdana;"> BeRuby es ya una prestigiosa web </span><br />
<span style="font-family: verdana;"> que establece contratos con más </span><br />
<span style="font-family: verdana;"> de 150 de las páginas más </span><br />
<span style="font-family: verdana;"> importantes en España, </span><br />
<span style="font-family: verdana;"> (incluyendo yahoo por ejemplo) </span><br />
<span style="font-family: verdana;"> para que <span style="color: black;"><a href="http://es.beruby.com/promocode/uauRAq" style="color: #2c78b9;"><strong>el usuario gane dinero</strong> </a></span></span><br />
<span style="font-family: verdana;"> al realizar diversas actividades en </span><br />
<span style="font-family: verdana;"> estos sitios. Por actividades </span><br />
<span style="font-family: verdana;"> BeRuby distingue:</span></div>
<a name='more'></a><span style="font-family: verdana;"><br /><strong>-</strong> <strong>visitas</strong><br /><strong>- registros </strong></span><br />
<div style="font-size: 12px;">
<span style="font-family: verdana;"><strong>- compras</strong></span></div>
<div style="font-size: 12px;">
<span style="font-family: verdana;"><b><br /></b>Las formas y la</span><span style="background-color: white; font-family: verdana; line-height: 1.5em;"> cantidad de dinero que se genera, sin embargo, son diferentes para cada sitio, es decir que cada web tiene sus políticas, por ejemplo:</span></div>
<div style="font-size: 12px;">
<span style="font-family: verdana;"><br />E-buy paga 2,83 euros por registrarte en su página y 0,04 euros por puja que realices.<br />Sólo por visitar la página principal de BeRuby, se te abona 0.01 euros al día, al igual que el blog oficial de la web, que tambien paga 0.01 euros.<br />Yahoo te paga por cada búsqueda, hasta 0.01 euros, dependiendo de las palabras buscadas. </span></div>
</div>
<div style="background-color: white; font-size: 12px; line-height: 1.5em; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;">
<span style="font-family: verdana;">Al principio parace poco, pero la actividad que realizamos en estas páginas (que se refleja en el saldo de beruby a los dos días) se va acumulando y con los días veremos un saldo muy interesante en nuestra cuenta. Además la cantidad de empresas que pagan a los usuarios de BeRuby asciende a más de 150 y va creciendo cada vez más, conforme BeRuby sigue fijando acuerdos y expandiéndose..</span></div>
<div style="background-color: white; font-size: 12px; line-height: 1.5em; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;">
<span style="font-family: verdana;">Una muy buena forma de aumentar los ingresos de BeRuby, por otro lado, es mediante el sistema de referidos o apadrinajes, en el que ganas exactamente la mitad del monto que generen de las personas que refieras, y también la mitad de lo que generen los referidos de tus referidos. Con tan sólo 10 referidos calcula que en un mes estarías generando una cifra mayor a los 50 euros, y ni hablar si tus 10 referidos generan 10 referidos cada uno..</span></div>
<div style="background-color: white; font-size: 12px; line-height: 1.5em; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;">
<span style="font-family: verdana;">La forma de cobro es mediante <strong>paypal</strong>, y una vez confirmado el monto que hayas generado, o sea cuando las empresas que tienen contrato con BeRuby pagan, esa cantidad ya estará confirmada y a tu disposición para cobrar. Esto suele tardar de 2 hasta 3 meses.</span></div>
<span style="background-color: white; font-family: verdana; line-height: 16px; text-align: left;">El dinero de paypal puede ser fácilmente cobrado mediante cheque, o bien puede servir para hacer compras por internet, o comprar cuentas premium en rapidshare.com </span><br />
<span style="background-color: white; font-family: verdana; line-height: 16px; text-align: left;"><br /></span><br />
<a href="http://mx.beruby.com/promocode/uF6qWS"><span style="background-color: white; font-family: verdana; line-height: 16px; text-align: left;">Registrate Hoy </span><span style="font-family: verdana;"><span style="line-height: 16px; text-align: left;">aqui</span></span></a>!<br />
<strong style="background-color: white; line-height: 16px; text-align: left;"><br /></strong><br />
<strong style="background-color: white; line-height: 16px; text-align: left;">Además recibirás un regalo de bienvenida de 1 euro!</strong>Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-91391898064600912872012-05-12T16:19:00.002-05:002012-05-12T16:21:53.992-05:00Como y cuando pagan en Adsense de Google para tu Blog<span style="background-color: white; color: #333333; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 16px; line-height: 18px; text-align: left;">Una de las preguntas que mas inquietan a quienes comienzan en el mundo blog es <strong>¿ Cómo me pagan con Adsense ? </strong>Y es que todos comenzamos en algún momento cuestionándonos si este tema de<strong> ganar dinero con un blog</strong> es realmente cierto y comprender el cómo funciona ayuda mucho a saber que vamos en el camino correcto.</span><br />
<span style="background-color: white; color: #333333; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px; text-align: left;">Y cómo estoy seguro que a esta interrogante le siguen otras relacionadas, intentaré en este post responder de forma práctica y sencilla a las preguntas más comunes sobre los </span><strong style="background-color: white; color: #333333; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px; text-align: left;">mecanismos de pago de Google Adsense</strong><span style="background-color: white; color: #333333; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px; text-align: left;">.</span><br />
<div style="text-align: left;">
<span style="color: #333333; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: x-small;"><span style="line-height: 18px;"></span></span><br />
<a name='more'></a></div>
<ol><span id="fullpost" style="background-color: white; color: #333333; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px; text-align: left;">
<li><strong>¿Como me pagan con Adsense?</strong> Dependiendo de tu país de residencia, Adsense te ofrece distintas alternativas de pago como: cheque personal, transferencia bancaria, transferencia a través de Western Union y Paypal. No todas están disponibles en todos los países por lo que deberás consultar en <a href="https://www.google.com/adsense/support/?sourceid=aso&subid=ww-ww-et-asui&medium=link" style="color: #666666; text-decoration: none;">la ayuda de google adsense</a>, específicamente que medios puedes elegir en tu ciudad actual. Debes tomar en cuenta que algunos medios pueden no estar disponibles o bien tener algún costo adicional de envío por ser más rápidos y seguros.</li>
<br />
<li><strong>¿ Dónde recibo mis pagos ?</strong> Tus pagos son enviados directamente a la dirección que tu proporcionas al momento de <a href="http://ganacontublog.blogspot.com/2009/01/gua-para-darse-de-alta-en-google.html" style="color: #666666; text-decoration: none;">darte de alta en el servicio de Adsense</a>. Regularmente google hace una prueba preliminar para verificar que tu dirección este correcta enviándote un sobre con una tarjeta que contiene un código que debes ingresar al sistema. De esa forma ellos aseguran que tu dirección existe y que tu eres el beneficiario correcto. Si la dirección que proporcionas es la de tu casa u oficina, es allí donde directamente te enviarán tu cheque de utilidades de Adsense.</li>
<br />
<li><strong>¿ Cuándo califico para recibir mis pagos ?</strong> El sistema de Adsense esta diseñado de tal manera que tu pago es registrado en el sistema en el momento que <a href="http://ganacontublog.blogspot.com/2008/12/cuanto-dinero-se-puede-ganar-con.html" style="color: #666666; text-decoration: none;">acumulas la cantidad mínima de $100 dólares</a> y emitido por el total acumulado unos días después del cierre del mismo mes. Regularmente, los pagos estarán llegándote 30 días después de que califiques.</li>
<br />
<li><strong>¿ Cuándo recibo mis pagos ?</strong> Los cheques son emitidos por Google regularmente unos 25 días después del cierre de mes. Si tu cierras el mes con ingresos acumulados arriba de us$100 tu cheque será emitido el 25 del próximo mes y el tiempo que tardas en recibirlo depende del servicio de entregas de correo de tu país. Si eliges entrega inmediata, Adsense te lo envía por DHL que tarda unos 8 días con un costo de us$25.</li>
<br />
<li><strong>¿ Cómo se que mis pagos llegarán ?</strong> Puedes estar seguro que Google es una de las empresas de tecnología más serias que existen en el mundo (talvez la No. 1) y que tienen un sistema de reputación comprobada por testimonio de miles de suscriptores en el mundo, de los cuales soy el primero y por tanto, si tus datos son los correctos y no has cambiado de dirección sin notificarlo en el sistema, tu cheque llegará sin problema. Además, por si acaso (<em>porque no todos los sistemas son infalibles</em>) algo sucediera en el camino, ellos tienen un mecanismo para reclamar el reenvío de tu cheque.</li>
</span></ol>
<span id="fullpost" style="background-color: white; color: #333333; font-family: 'Trebuchet MS', Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px; text-align: left;">
Así que, lo más importante es que te asegures de que tanto tus datos personales como tu dirección de envío estén correctamente escritos para que tus pagos te lleguen a tiempo y que no tengas inconvenientes con tus cheques. <strong>Te aseguro que la emoción del primer cheque es incomparable!</strong></span>Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-7880186943408963232012-05-12T16:18:00.000-05:002012-05-12T16:22:17.971-05:00Gana dinero con blogger!<br />
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
Créalo o no, pero realmente es posible ganar <a href="http://mercadeoglobal.com/blog/tag/dinero/" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #4081af; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;">dinero</a> publicando. De hecho, un adolescente, ha ganado nada menos que $5,000 al mes, ¡haciendo publicaciones en su blog!</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
Claro que no todo blogger es tan afortunado como él. Es necesario tener alguna habilidad, y un poco de suerte para ganar dinero de los <a href="http://mercadeoglobal.com/blog/tag/blogs/" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #4081af; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;">blogs</a>.</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
Lo que también se necesita es un poco de conocimiento de cómo hacer, exactamente, para generar el ingreso solo anunciando en el blog. En este boletín electrónico nosotros iremos viendo tres métodos específicos para hacer dinero con su blog: <a href="http://mercadeoglobal.com/blog/tag/adsense/" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #4081af; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;">Adsense</a>, <a href="http://mercadeoglobal.com/blog/tag/pago-por-clic/" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #4081af; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;">Pago Por Clic</a>, y los links de los Programas de <a href="http://mercadeoglobal.com/blog/tag/afiliados/" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #4081af; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;">Afiliados</a>.<br />
<br />
<a name='more'></a></div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
Entonces, ¿cómo debo hacer, exactamente, para ganar dinero con mi blog?</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
Usted lo hace trabajando con otra compañía que quiere usar su blog como una forma de anunciar. Parece que estuviera vendiendo, ¿no es cierto? No es así, exactamente. La <a href="http://mercadeoglobal.com/blog/publicidad/" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #4081af; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;">publicidad</a> puede ser muy directa, o tan sutil como usted lo desee. Y aún así puede ganar dinero, con tal de que usted tenga bastantes visitantes en su blog.</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">¿Qué es Adsense?</strong></div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
Adsense es un programa ofrecido por Google. El programa, si está instalado, desplegará los anuncios proporcionados por Google.</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">¿Cómo puedo conseguir Adsense?</strong></div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
Usted primero necesitará ir a Google.com. Al fondo de la pantalla hay un enlace (link) que dice “Programas de Publicidad”. Haga clic en eso. Entonces haga clic en el enlace de “Adsense”. Desplácese hacia abajo en la página y haga clic donde dice “¡Regístrese Ahora!” Usted entonces completará el formulario con la información requerida. Después de 12 - 48 horas, Google lo notificará vía correo electrónico si su sitio ha sido aceptado o no. Cuando se haya aceptado, prepare sus publicaciones realizando algunas de las opciones siguientes:</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
1. Si su blog está alojado en Blogger.com, usted puede poner sus publicaciones de AdSense yendo a su perfil, seleccionando: settings>template> añada un elemento. Entonces seleccione AdSense para iniciar la sesión con la información de su cuenta. Luego, usted configurará sus anuncios y guardará la plantilla. ¡Así se hace!</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
2. Si usted mismo está hospedando su blog, tendrá que preparar AdSense de una manera manual. Usted creará sus publicaciones –que pueden ser tan pequeñas o grandes como lo desee–, y entonces las debe copiar en el código HTML/Javascript que le brinda Google. Luego lo pegará en su blog, a la izquierda, a la derecha, o al principio de la pantalla.</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
Durante los primeros días, los anuncios desplegados por Google serán los Anuncios de Servicio público. Sin embargo, después de que esos anuncios hayan estado durante unos días, los contenidos cambiarán a las publicaciones que son pertinentes a su blog.</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">¿Cómo trabaja Adsense?</strong></div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
Cada vez que un visitante pulsa el botón de un anuncio de Adsense, usted recibe algo de dinero. La cantidad que usted consiga por cada anuncio donde se haya hecho clic, depende del número de visitantes únicos que usted reciba en su blog, de la temática, de lo competido o no que sea dicho <a href="http://mercadeoglobal.com/blog/tag/nicho-de-mercado/" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #4081af; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;">nicho de mercado</a>, etc. Cuantos más visitantes tenga, más dinero ganará.</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
Google le enviará entonces un cheque, una vez que usted haya hecho por lo menos $100 con las visitas a los anuncios.</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
Es importante saber y recordar que Google lo penalizará si usted pulsa el botón de sus propios anuncios, o si usted les pide específicamente a los visitantes que hagan clic en los anuncios. ¡Así que no haga eso!</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Pago por clic</strong></div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
El Pago Por Clic es básicamente como AdSense, excepto que usted no trabaja solo con Google, sino con múltiples compañías.</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">¿Cómo funciona pago por clic?</strong></div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
Funciona pagándole dinero cada vez que alguien pulsa el botón de un anuncio que usted despliega. Usted no cobrará por los clics múltiples del mismo usuario en la misma visita; ni por alguien que, simplemente, está visitando su sitio. Usted sólo cobrará por los clics legítimos.</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Links de afiliados</strong></div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
Los Links de Afiliados son, básicamente, links por los cuales las personas le pagan a usted. Las compañías pagarán a los dueños de los blogs por anunciar sus links. Usted puede tener tantos links de Afiliados como desee.</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">¿Cómo consigo los links de afiliados?</strong></div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
Usted puede conseguir los Links de Afiliados buscando en: “Programas de Links de Afiliados” en Internet. Una vez que encuentra un programa de Links de Afiliados que le parece bueno, firme con él. Entonces usted debe seguir las instrucciones para poner el link (s) en su blog.</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">¿Cómo trabajan los links de afiliados?</strong></div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
Como los otros dos métodos expresados más arriba, los Links de Afiliados le pagan dinero cada vez que ellos hacen clic. Usted cobra por cada clic por único visitante.</div>
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #555555; font-family: sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1.4em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
¡Eso es todo! Hay tres maneras legítimas de ganar dinero desde su blog. Es importante tener presente que la cantidad de dinero que usted puede hacer depende de cuántos visitantes recibe su blog. Si usted recibe muchos, hará mucho. Si no, el dinero que usted gane será poco. Pero, así y todo, aún es dinero extra; entonces, ¿por qué no hacerlo?</div>Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-18635263898840522012012-05-11T22:01:00.002-05:002012-05-11T22:16:38.601-05:00Videotutoriales en Java<span style="font-family: 'Trebuchet MS', sans-serif;"><span style="background-color: white; font-size: 1em; letter-spacing: 1px; line-height: 18px; text-align: justify;">A continuación un listado de video tutoriales acerca de Java SE </span><strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 1em; letter-spacing: 1px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">creados por <a href="http://locx24.wordpress.com/" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">locx24</a></strong><span style="background-color: white; font-size: 1em; letter-spacing: 1px; line-height: 18px; text-align: justify;">, y que sin duda es el material mejor elaborado que he visto en mi vida en cuanto a videos educativos sobre </span><a href="http://casidiablo.net/java" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 1em; letter-spacing: 1px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Java</a></span><span style="background-color: white; font-family: Georgia, 'Times New Roman', serif; font-size: 1em; letter-spacing: 1px; line-height: 18px; text-align: justify;">.</span><br />
<span style="background-color: white; font-family: Georgia, 'Times New Roman', serif; font-size: 1em; letter-spacing: 1px; line-height: 18px; text-align: justify;"></span><br />
<a name='more'></a><br />
<div id="main_col" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: inline; float: left; font-family: 'Trebuchet MS', Tahoma, sans-serif; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 36px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline; width: 628px;">
<div class="post-2897 post hentry category-java category-programacion category-video-tutoriales tag-java tag-programacion tag-video-tutorial single_post clearfix" id="post-2897" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">
<h3 style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 1.5em; font-weight: normal; letter-spacing: 1px; line-height: 13px; margin-bottom: 18px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">
<span style="background-color: white;">Capítulo 0: Introducción a la programación</span></h3>
<ul style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 13px; list-style-image: initial; list-style-position: initial; margin-bottom: 18px; margin-left: 18px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><a class="thickbox" href="http://casidiablo.tv/videotutoriales/locx24/C0T1p01/C0T1p01.htm?keepThis=true&TB_iframe=true&height=650&width=850" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Tema 1: Conceptos básicos de programación.</a> [<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><a href="http://casidiablo.net/descargar/Conceptos+basicos+de+programacion" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Descargar</a></strong>]</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><a class="thickbox" href="http://casidiablo.tv/videotutoriales/locx24/C0T2p01/C0T2p01.htm?keepThis=true&TB_iframe=true&height=650&width=850" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Tema 2: Introducción al lenguaje de programación Java – parte 1.</a> [<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><a href="http://casidiablo.net/descargar/Introduccion+lenguaje+programacion+Java+parte+1" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Descargar</a></strong>]</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><a class="thickbox" href="http://casidiablo.tv/videotutoriales/locx24/C0T2p02/C0T2p02.htm?keepThis=true&TB_iframe=true&height=650&width=850" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Tema 2: Introducción al lenguaje de programación Java – parte 2.</a> [<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><a href="http://casidiablo.net/descargar/Introduccion+lenguaje+programacion+Java+parte+2" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Descargar</a></strong>]</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><a class="thickbox" href="http://casidiablo.tv/videotutoriales/locx24/C0T3p01/C0T3p01.htm?keepThis=true&TB_iframe=true&height=650&width=850" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Tema 3: Herramientas de desarrollo – parte 1.</a> [<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><a href="http://casidiablo.net/descargar/Herramientas+de+desarrollo+parte+1" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Descargar</a></strong>]</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><a class="thickbox" href="http://casidiablo.tv/videotutoriales/locx24/C0T3p02/tema3b.htm?keepThis=true&TB_iframe=true&height=650&width=850" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Tema 3: Herramientas de desarrollo – parte 2.</a> [<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><a href="http://casidiablo.net/descargar/Herramientas+de+desarrollo+parte+2" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Descargar</a></strong>]</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><a class="thickbox" href="http://casidiablo.tv/videotutoriales/locx24/C0T3p03/tema3c.htm?keepThis=true&TB_iframe=true&height=650&width=850" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Tema 3: Herramientas de desarrollo – parte 3.</a> [<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><a href="http://casidiablo.net/descargar/Herramientas+de+desarrollo+parte+3" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Descargar</a></strong>]</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><a class="thickbox" href="http://casidiablo.tv/videotutoriales/locx24/C0T3p04/tema3d.htm?keepThis=true&TB_iframe=true&height=650&width=850" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Tema 3: Herramientas de desarrollo – parte 4.</a> [<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><a href="http://casidiablo.net/descargar/Herramientas+de+desarrollo+parte+4" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Descargar</a></strong>]</span></li>
</ul>
<h3 style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 1.5em; font-weight: normal; letter-spacing: 1px; line-height: 13px; margin-bottom: 18px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">
<span style="background-color: white;">Capítulo 1: Arreglos unidimiensionales y multidimensionales</span></h3>
<ul style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 13px; list-style-image: initial; list-style-position: initial; margin-bottom: 18px; margin-left: 18px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><a class="thickbox" href="http://casidiablo.tv/videotutoriales/locx24/C1T1p01/C1T1p01.htm?keepThis=true&TB_iframe=true&height=650&width=850" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Tema 1: Arreglos unidimensionales.</a> [<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><a href="http://casidiablo.net/descargar/Arreglos+unidimensionales" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Descargar</a></strong>]</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><a class="thickbox" href="http://casidiablo.tv/videotutoriales/locx24/C1T2p01/C1T2p01.htm?keepThis=true&TB_iframe=true&height=650&width=850" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Tema 2: Arreglos multidimensionales.</a> [<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><a href="http://casidiablo.net/descargar/Arreglos+multidimensionales" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Descargar</a></strong>]</span></li>
</ul>
<h3 style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 1.5em; font-weight: normal; letter-spacing: 1px; line-height: 13px; margin-bottom: 18px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">
<span style="background-color: white;">Capítulo 2: Métodos y mensajes</span></h3>
<ul style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 13px; list-style-image: initial; list-style-position: initial; margin-bottom: 18px; margin-left: 18px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><a class="thickbox" href="http://casidiablo.tv/videotutoriales/locx24/C2T1p01/C2T1p01.htm?keepThis=true&TB_iframe=true&height=650&width=850" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Tema 1: Métodos – parte 1.</a> [<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><a href="http://casidiablo.net/descargar/Metodos+parte+1" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Descargar</a></strong>]</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><a class="thickbox" href="http://casidiablo.tv/videotutoriales/locx24/C2T1p02/C2T1p02.htm?keepThis=true&TB_iframe=true&height=650&width=850" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Tema 2: Métodos – parte 2.</a> [<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><a href="http://casidiablo.net/descargar/Metodos+parte+2" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Descargar</a></strong>]</span></li>
</ul>
<h3 style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 1.5em; font-weight: normal; letter-spacing: 1px; line-height: 13px; margin-bottom: 18px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">
<span style="background-color: white;">Capítulo 3: Constructores y recolección de basura</span></h3>
<ul style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 13px; list-style-image: initial; list-style-position: initial; margin-bottom: 18px; margin-left: 18px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><a class="thickbox" href="http://casidiablo.tv/videotutoriales/locx24/C3T1p01/C3T1p01.htm?keepThis=true&TB_iframe=true&height=650&width=850" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Tema 1: Constructores.</a> [<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><a href="http://casidiablo.net/descargar/Constructores" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Descargar</a></strong>]</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><a class="thickbox" href="http://casidiablo.tv/videotutoriales/locx24/C3T2p01/C3T2p01.htm?keepThis=true&TB_iframe=true&height=650&width=850" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Tema 2: La recolección de basura en Java.</a> [<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><a href="http://casidiablo.net/descargar/Recoleccion+de+basura" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Descargar</a></strong>]</span></li>
</ul>
<h3 style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 1.5em; font-weight: normal; letter-spacing: 1px; line-height: 13px; margin-bottom: 18px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">
<span style="background-color: white;">Capítulo 4: Sobrecarga</span></h3>
<ul style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 13px; list-style-image: initial; list-style-position: initial; margin-bottom: 18px; margin-left: 18px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><a class="thickbox" href="http://casidiablo.tv/videotutoriales/locx24/C4T1p01/C4T1p01.htm?keepThis=true&TB_iframe=true&height=650&width=850" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Tema 1: Conversión de tipos primitivos.</a> [<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><a href="http://casidiablo.net/descargar/Conversion+de+tipos+primitivos" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Descargar</a></strong>]</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><a class="thickbox" href="http://casidiablo.tv/videotutoriales/locx24/C4T2p01/C4T2p01.htm?keepThis=true&TB_iframe=true&height=650&width=850" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Tema 2: Sobrecarga de métodos y constructores.</a> [<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><a href="http://casidiablo.net/descargar/Sobrecarga+metodos+constructores" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Descargar</a></strong>]</span></li>
</ul>
<div>
<h3 style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 1.5em; font-weight: normal; letter-spacing: 1px; margin-bottom: 18px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">
<span style="background-color: white;">Licencias y derechos de autor</span></h3>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; margin-bottom: 18px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: center; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">
</div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; margin-bottom: 18px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">
<span style="background-color: white;"><span style="color: #cc0000;">Los videos se encuentran bajo la licencia <a href="http://creativecommons.org.mx/" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Creative Commons</a>. Eres libre de: copiar, distribuir y comunicar libremente la obra, bajo las condiciones siguientes:</span></span></div>
<ul style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 13px; list-style-image: initial; list-style-position: initial; margin-bottom: 18px; margin-left: 18px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><span style="color: #cc0000;"><strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">Atribución</strong>: Debes reconocer <a href="http://locx24.wordpress.com/2009/02/23/curso-en-videotutoriales-de-java-se-50/" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">la autoría de la obra en los términos especificados por el propio autor</a>.</span></span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><span style="color: #cc0000;"><strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">No comercial</strong>: No puedes utilizar esta obra para fines comerciales.</span></span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; list-style-position: inside; margin-bottom: 6px; margin-left: 0px; margin-right: 0px; margin-top: 6px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;"><span style="background-color: white;"><span style="color: #cc0000;"><strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-shadow: rgb(0, 0, 0) 0px 0px 0px; vertical-align: baseline;">No derivadas</strong>: no está permitido que alteres, transformes o generes una obra derivada a partir de esta obra.</span></span></li>
</ul>
</div>
</div>
</div>Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-26516582848784422762012-05-10T15:52:00.002-05:002012-05-10T15:53:27.294-05:001000 visitas al blog!Hoy exactamente hace una hora se contaron un total de 1000 visitas. el contador de widget que tengo tiene un fallo y esta adelantado por 200 pues cuenta también mis visitas, pero en el escritorio de blogger aparece bien el numero, y pues bueno gracias.. espero que de verdad estén aprendiendo algo los que sigan el blog y recuerden que cualquier duda solo pregunten, es un gusto responder, igualmente con las sugerencias y las criticas.<br />
<br />
Estoy viendo que puede mejorar la pagina para hacerla mas amigable. También se admiten sugerencias de eso.<br />
<br />
SaludosAnonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-82100616495907009492012-05-07T23:51:00.001-05:002012-05-07T23:51:47.501-05:00Presentacion Img<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-QEN95xQiPmA/T6imJbe1QmI/AAAAAAAABrg/MFlMrRxC6eE/s1600/Blogger+pg.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="81" src="http://2.bp.blogspot.com/-QEN95xQiPmA/T6imJbe1QmI/AAAAAAAABrg/MFlMrRxC6eE/s320/Blogger+pg.jpg" width="320" /></a></div>
<br />Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-26999829303019063552012-05-07T22:16:00.002-05:002012-05-07T22:17:10.125-05:00Como usar Eclipse C/C++<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">Este tutorial explica como instalar y configurar Eclipse para desarrollar con C/C++ y SDL.</span><br />
<br />
<b style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">1.- Instalar Eclipse</b><br />
<br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">Instalar el Eclipse es tan fácil como:</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">a) Ir a la direccion: </span><a href="http://www.eclipse.org/downloads/index.php" style="background-color: #fafafa; color: #1d5b80; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px; text-decoration: none;" target="_blank">http://www.eclipse.org/downloads/index.php</a><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">b) Pinchar en </span><b style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">Download now: Eclipse SDK 3.1.1</b><span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;"> y elegir el mirror que nos guste.</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">c) Una vez descargado el zip, lo descomprimimos por ejemplo en C:\eclipse</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">d) Ejecutamos el eclipse.exe</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">f) Para cerrar la ventana de bienvenida pinchamos en la flecha que hay arriba a la derecha.</span><br />
<a name='more'></a><br />
<b style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">2.- Instalar CDT</b><br />
<br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">El CDT es el plugin de eclipse que nos permite desarrollar en C/C++. Los pasos para instalarlo son:</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">a) En el eclipse, pinchar en Help -> Software updates -> Find and install...</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">b) Seleccionamos "Search for new features to install" y le damos a Next.</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">c) Pinchamos el botón "New Remote Site..."</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">d) En nombre ponemos CDT, y en URL ponemos </span><a href="http://download.eclipse.org/tools/cdt/releases/eclipse3.1" style="background-color: #fafafa; color: #1d5b80; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px; text-decoration: none;" target="_blank">http://download.eclipse.org/tools/cd...ses/eclipse3.1</a><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">e) Nos aseguramos de que está marcado el check del CDT en la lista y pichamos Finish.</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">f) Seguimos los pasos que se nos indican (acuerdo de licencia, etc).</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">g) Reiniciamos el Eclipse (nos pedirá que lo hagamos al finalizar la instalación)</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">h) Abrimos la perspectiva de C/C++:</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">----- h1) Pinchar en Window -> Open Perspective -> Other...</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">----- h2) Seleccionar C/C++ en la lista y OK.</span><br />
<br />
<b style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">3.- Instalar Cygwin</b><br />
<br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">Esto es lo que incluirá el compilador, debugger, linker, etc...</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">a) Descargamos en instalador de </span><a href="http://cygwin.com/setup.exe" style="background-color: #fafafa; color: #1d5b80; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px; text-decoration: none;" target="_blank">http://cygwin.com/setup.exe</a><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">b) Lo ejecutamos. En la segunda ventana selecionamos "Install from internet"</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">c) En Root directory metemos donde queremos instalarlo, por ejemplo c:\cygwin</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">d) En Install For seleccionamos "All Users" y en Default Text File Type "Unix / Binary"</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">e) En la siguiente ventana metemos la ruta donde queremos descargar los paquetes, por ejemplo c:\cygwin\paquetes</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">f) En la siguiente ventana seleccionamos "Direct Connection"</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">g) Esperamos a que se descargue la lista de mirrors y elegimos el que más nos guste.</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">h) Esperamos a que se descargue la lista de paquetes.</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">i) En la lista desplegamos la rama Base y marcamos la columna BIN en todos los que nos permita.</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">j) Hacemos lo mismo con la rama Devel y pinchamos en Siguiente. Esto llevará unos minutos.</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">k) Una vez que esté todo instalado, tenemos que modificar el PATH. Nos vamos a Panel de Control -> Sistema -> Opciones Avanzadas -> Variables de Entorno</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">l) Si está la variable "Path" en la lista la pinchamos y le damos a modificar, incluyendo la carpeta bin del directorio del cygwin, separado de una coma del resto: Por ejemplo quedaría algo así:</span><br />
<br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">C:\Archivos de programa\CVSNT\;C:\WINDOWS\Microsoft.NET\Framework \v1.1.4322;</span><b style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">C:\cygwin\bin</b><br />
<br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">m) Si la variable no exitiese la creamos y le damos el valor C:\cygwin\bin (o la que hayamos elegido al instalar el cygwin).</span><br />
<br />
<b style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">4.- Incluir librerías SDL</b><br />
<br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">Para compilar los proyectos SDL necesitamos poner las librerías en el lugar apropiado donde las encuentre el compilador.</span><br />
<br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">a) Primero las descargamos de </span><a href="http://www.libsdl.org/download-1.2.php" style="background-color: #fafafa; color: #1d5b80; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px; text-decoration: none;" target="_blank">http://www.libsdl.org/download-1.2.php</a><span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">, al final de la lista, en "Development Libraries" seleccionamos la segunda de Win32 -> SDL-devel-1.2.9-mingw32.tar.gz (Mingw32)</span><br />
<br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">b) Descomprimimos el zip una vez descargado.</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">c) De la carpeta bin, copiamos el SDL.dll a C:\cygwin\bin</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">d) De la carpeta lib copiamos los 4 archivos a C:\cygwin\lib\gcc-lib\i686-pc-mingw32\3.3.3</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">e) De la carpeta include copiamos todo a C:\cygwin\usr\include</span><br />
<br />
<br />
<b style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">5.- Crear nuevo proyecto</b><br />
<br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">Existen 2 tipos de proyectos: Standard y Managed. En el primero somos nosotros los que decidimos el Makefile, en el segudo es el Eclipse el que hace el Makefile según nuestras configuraciones. Como esto es un tutorial básico, iremos por lo facil, el Managed (aunque si estamos haciendo un port que ya tenga un Makefile, o queremos hacerlo nosotros mismos, mejor standard).</span><br />
<br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">a) En eclipse, abrimos la perspectiva de C/C++, si no la tenemos ya abierta (ver paso 2.h)</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">b) Pinchamos en el menú File -> New -> Managed Make C++ Proyect (podemos elegir el C si lo deseamos)</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">c) Le damos un nombre al proyecto y opcionalmente elegimos la ruta</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">d) Podemos darle a Next para ver las siguientes pantallas de configuración, pero como no vamos a cambiar nada, le damos a Finish en esta o en las siguientes.</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">f) Ahora en la vista de proyectos habrá una carpetita azul con el nombre de nuestro proyecto. Clic derecho y Properties</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">g) Pinchamos en el menú "C/C++ Build" en la parte izquierda de la ventana</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">h) En la pestaña "Tool Settings", Pinchamos en la subopción "Libraries" de "GCC C Linker"</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">i) En los dos recuadros de la derecha, en el de arriba pinchamos en Add (icono con signo + en verde)</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">j) Escribimos "SDLmain" (sin comillas) y OK.</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">k) Volvemos a dar a Add y añadimos "SDL" (sin comillas).</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">en el recuado de abajo pinchamos también en Add, pinchamos en Browse y buscamos la siguiente ruta: "C:\cygwin\lib\gcc-lib\i686-pc-mingw32\3.3.3" (dependiendo de donde hayamos instalado el cygwin.</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">l) Pinchamos en Apply para guardar los cambios, pero no cerramos la ventana.</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">m) En el desplegable que hay arriba con el texto "Configuration: " a la izquierda, selecionamos la otra opcion (si tenemos Debug, seleccionamos Release o viceversa).</span><br />
<span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;">n) Repetimos los pasos de h a k y pinchamos en OK.</span>Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-28185457082414506162012-05-07T21:09:00.002-05:002012-05-07T21:12:13.154-05:00Pon publicidad a tu app (android, ipod, mac, etc)<br />
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Cuando uno trabaja en una aplicación muchas horas y quiere distribuirla, se le pueden plantear algunas dudas sobre cómo recibir “algo” a cambio del tiempo dedicado. Existen distintos “modelos” para rentavilizar una app:</span></div>
<ul style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; list-style-image: initial; list-style-position: initial; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;"><strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">De pago</strong>: pues así de fácil, uno publica su aplicación con un precio “x”.</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;"><strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Con subscripciones</strong>: se distribuye la aplicación gratuita pero con una cuota (mensual, anual) a pagar por el usuário para poder acceder a unos servicios.</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;"><strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Gratuita con donaciones</strong>: uno puede publicar su aplicación con un enlace en la misma o en su web a un servicio de donaciones del estilo “paypal”.</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;"><strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Gratuita con anuncios</strong>: el desarrollador incrusta un banner publicitário en la aplicación y recibe dinero por cada pulsación sobre el anuncio.</span></li>
</ul>
<span style="color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: x-small;"><span style="line-height: 20px;"><a name='more'></a></span></span><div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Dados estos modelos, no todas las aplicaciones encajan en todos ellos, así que al desarrollador le toca decantarse por uno de estos modelos.</span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Bajo mi punto de vista:</span></div>
<ul style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; list-style-image: initial; list-style-position: initial; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;"><strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">De pago</strong>: desconozco el motivo, pero a la gente le cuesta pagar por usar aplicaciones y juegos. El precio de media de las aplicaciones del Android Market ronda los 3 dólares, y todavía queda gente que prefiere pasarse 3 horas buscando un apk en la red a pagar de 1 a 3€ para dar soporte al programador que ha gastado sus horas en desarrollar la aplicación.</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;"><strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Con subscripciones</strong>: este modelo no encaja con ninguna de mis apps, por lo que no voy a hablar de el.</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;"><strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Gratuita con donaciones</strong>: si a la gente le cuesta pagar…. ya no digamos “donar”.</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;"><strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Gratuita con anuncios</strong>: para mí es el futuro en las apps móviles. Con el auge del uso de las apps en el móvil, muchas empresas están viendo en ellas la opción de darse a conocer, y se están empezando a publicitar en los dispositivos móviles. Se trata de un caso <em style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">win/win</em>, el usuario disfruta de una aplicación gratuita, y el desarrollador recibe “algo de dinero” por cada click en la pubi.</span></li>
</ul>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Ahora que ya he dado mi opinión, vamos a ver cómo insertar anuncios en las apps.</span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">En mi caso tengo el servicio de anuncios contratados con <a href="http://es.admob.com/" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #386666; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">AdMob</a>, por lo que me voy a centrar en esta compañía.</span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Los requisitos:</span></div>
<ul style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; list-style-image: initial; list-style-position: initial; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;"><em style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Registrarse en AdMob</em>: <a href="http://es.admob.com/register/" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #386666; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">aquí.</a></span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;"><em style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Tener una cuenta de PayPal</em> para poder recibir los pagos. Los pagos se realizan para importes de mínimo 20$, y se paga a dos meses, es decir, en Marzo pagan los ingresos de Enero. Por el momento, en mi caso han pagado religiosamente cada mes, aunque sí que hay que comentar que no siempre el mismo día, pero bueno, que pagar pagan, que es lo importante <img alt=";)" class="wp-smiley" src="http://eagin.net/wp-includes/images/smilies/icon_wink.gif" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" /></span></li>
</ul>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<img alt="" class="alignleft size-medium wp-image-122" height="277" src="http://eagin.net/wp-content/uploads/2010/11/AdMob-Crear-sitio-300x277.png" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-color: rgb(204, 204, 204); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-left-radius: 4px; border-top-right-radius: 4px; border-top-style: solid; border-top-width: 1px; float: left; margin-bottom: 15px; margin-left: 0px; margin-right: 15px; margin-top: 5px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 9px; padding-left: 9px; padding-right: 9px; padding-top: 9px; vertical-align: baseline;" title="AdMob - Crear sitio" width="300" /></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Una vez registrados en AdMob, para añadir una aplicación, tendremos que ir a “<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Sitios y Aplicaciones -> Agregar Sitio/Aplicación</strong>“.</span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">En nuestro caso, seleccionamos “<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Aplicación Android</strong>“, y rellenamos los datos que nos piden.</span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<a href="http://eagin.net/wp-content/uploads/2010/11/AdMob-Sitios-y-aplicaciones_c%C3%B3digo_editor1.png" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #386666; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;"><img alt="" class="alignright size-medium wp-image-125" height="92" src="http://eagin.net/wp-content/uploads/2010/11/AdMob-Sitios-y-aplicaciones_c%C3%B3digo_editor1-300x92.png" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-color: rgb(204, 204, 204); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-left-radius: 4px; border-top-right-radius: 4px; border-top-style: solid; border-top-width: 1px; float: right; margin-bottom: 15px; margin-left: 15px; margin-right: 0px; margin-top: 5px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 9px; padding-left: 9px; padding-right: 9px; padding-top: 9px; vertical-align: baseline;" title="AdMob - Sitios y aplicaciones_código_editor" width="300" /></a></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Una vez rellenados todos los datos, nos darán una <strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">“ID de editor: XXXXXXXXXXXXXXXX” </strong>y nos tendremos que <strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">descargar un archivo *.zip</strong>. Esta ID de editor será la que identifique nuestra aplicación y es única para cada una de nuestras apps, mientras que el archivo *.zip contiene un archivo “<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Leeme</strong>“, el <strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Archivo “.jar”</strong> de AdMob que tendremos que importar a nuestra app y “<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Proyectos de muestra</strong>” para que veamos un ejemplo.</span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Una vez tengamos todo esto, descomprimimos el *.zip en una carpeta, y en este punto es recomendable mirar el ejemplo y leer un poco la info que trae, que ya sé que no gusta, pero para algo está!! <img alt=":P" class="wp-smiley" src="http://eagin.net/wp-includes/images/smilies/icon_razz.gif" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" /></span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Ahora nos dirigimos a nuestro “<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Eclipse</strong>“, pulsamos con el botón derecho encima de la carpeta de nuestro proyecto, y seleccionamos “<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Properties</strong>“, cuando se nos abra la ventana, nos vamos a “<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Java Build Path</strong>” y seleccionamos “<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Add external JARs…</strong>” y seleccionamos el archivo .jar en la carpeta que hemos extraído.</span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Para que los anuncios puedan mostrarse, se necesitan dos permisos que tenemos que añadir a nuestra aplicación:</span></div>
<ul style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; list-style-image: initial; list-style-position: initial; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;"><strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Acceso a internet</strong>, supongo que todos entendemos el porqué</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;"><strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Acceso a la localización</strong>, para poder mostrar anuncios “relacionados” con la localización del usuario, o lo que es lo mismo, para no mostrar anuncios españoles a los rusos <img alt=":P" class="wp-smiley" src="http://eagin.net/wp-includes/images/smilies/icon_razz.gif" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" /></span></li>
</ul>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Para añadir estos permisos, tenemos que añadir las siguientes líneas en nuestro “<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">AndroidManifest.xml</strong>“:</span></div>
<div id="_mcePaste" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 10px; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<blockquote style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 10px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-style: italic; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 15px; padding-right: 0px; padding-top: 0px; quotes: none; vertical-align: baseline;">
<div id="_mcePaste" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;"></application></span></div>
<div id="_mcePaste" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre;"> </span><uses-permission</span></div>
<div id="_mcePaste" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre;"> </span>android:name=”android.permission.ACCESS_FINE_LOCATION”></uses-permission></span></div>
<div id="_mcePaste" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre;"> </span><uses-permission</span></div>
<div id="_mcePaste" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre;"> </span>android:name=”android.permission.INTERNET”></uses-permission></span></div>
<div id="_mcePaste" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre;"> </span><uses-permission</span></div>
<div id="_mcePaste" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre;"> </span>android:name=”android.permission.ACCESS_COARSE_LOCATION”></uses-permission></span></div>
<div id="_mcePaste" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;"></manifest></span></div>
</blockquote>
</div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Cómo podéis ver, he comentado que necesitamos dos permisos, y yo he añadido tres… concretamente, uno para acceder a internet, y dos para la posición, uno por si viene dada por la red y otro por si viene dada por el GPS, aunque con el permiso para la localización por red hay suficiente. Importante, añadir estas líneas después del <strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"></application></strong></span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Otra cosa que tenemos que añadir a nuestro “<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">AndroidManifest.xml</strong>” es nuestro ID, y lo hacemos con la siguientes líneas, antes del <strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"></application></strong>:</span></div>
<blockquote style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 10px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 10px; font-style: italic; line-height: 20px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 15px; padding-right: 0px; padding-top: 0px; quotes: none; vertical-align: baseline;">
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;"><!– The application’s publisher ID assigned by AdMob –></span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;"><meta-data</span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">android:value=”XXXXXXXXXXXXX”</span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">android:name=”ADMOB_PUBLISHER_ID” /></span></div>
</blockquote>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Con todo esto, ya tenemos acceso a internet, a la localización del usuario, y AdMob ya sabe el ID que pide el anuncio!!</span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Ahora vamos a insertar nuestro anuncio en el “<strong style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">Layout</strong>“, con las siguientes líneas:</span></div>
<blockquote style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 10px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 10px; font-style: italic; line-height: 20px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 15px; padding-right: 0px; padding-top: 0px; quotes: none; vertical-align: baseline;">
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;"><com.admob.android.ads.AdView</span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">android:id=”@+id/ad”</span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">android:layout_width=”fill_parent”</span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">android:layout_height=”wrap_content”</span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">android:visibility=”visible”/></span></div>
</blockquote>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Estos son los pasos básicos, existe un “Test Mode”, se pueden modificar los colores de los anuncios, y otras cosas, pero como primera toma de contacto, y para que veáis que tampoco cuesta tanto insertar anuncios en las apps, supongo que este artículo os servirá! Todo el resto, lo podéis encontrar en la documentación que viene en el archivo .zip que os habéis descargado.</span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Antes de finalizar, algunos consejos:</span></div>
<ul style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; list-style-image: initial; list-style-position: initial; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;">Poned el banner en una pantalla en la que el usuario se pase algo de tiempo, de nada sirve la publi en una pantalla de bienvenida o en un menú</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;">En Android se considera que el sitio ideal para el banner es la parte inferior de la pantalla</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;">Importante describir bien la aplicación, ya que esto sirve a AdMob para seleccionar qué anuncios poner en cada app</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;">Mirad los filtros disponibles en la web de AdMob, existen muchos y puede que os interese activar/desactivar alguno</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;">“Be Global” lamentablemente, los clicks en España son escasos y muy mal pagados comparados con otros países</span></li>
<li style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0px; margin-left: 20px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span style="background-color: white;">No esperéis grandes resultados, se puede ganar algo, pero no os vais a poder cambiar el coche, ni la moto, ni un móvil nuevo… lo siento, pero sí que con suerte, podréis pagar un hosting, y quizás un portátil a plazos, cómo es mi caso <img alt=":P" class="wp-smiley" src="http://eagin.net/wp-includes/images/smilies/icon_razz.gif" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" /></span></li>
</ul>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="background-color: white;">Espero que os haya gustado, y si alguien tiene dudas, aquí estoy <img alt=":P" class="wp-smiley" src="http://eagin.net/wp-includes/images/smilies/icon_razz.gif" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" /></span></div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 15px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span style="color: red; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: x-small;"><span style="background-color: white; line-height: 20px;"><b>-Post hurtado de otro blog, lo comparto haha-</b></span></span><br />
<span style="color: red; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: x-small;"><span style="background-color: white; line-height: 20px;"><b>esto es mio:</b></span></span><br />
<span style="color: red; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: x-small;"><span style="background-color: white; line-height: 20px;"><b><br /></b></span></span><br />
<span style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: x-small;"><span style="background-color: white; line-height: 20px;"><b>para las aplicaciones de windows 8, futuramente en el mercado, y que porcierto ya me descargue para poder desarrollar a futuro. entramos a esta pagina </b></span></span><a href="http://advertising.microsoft.com/windowsadvertising/developer">http://advertising.microsoft.com/windowsadvertising/developer</a></div>Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-34405784639855182652012-05-06T15:30:00.002-05:002012-05-06T15:32:23.570-05:00Todas las librerias estandar en C & sus funcionesEncontré esto en internet, puede ser de muchísima ayuda para
cualquier programador. puedes descargar un versión pdf (muy extensa)
desde <a href="http://www.google.com/url?sa=t&rct=j&q=librerias%20c&source=web&cd=1&ved=0CGoQFjAA&url=http%3A%2F%2Fatc2.aut.uah.es%2F%7Ejgallego%2FLabAR%2FPrac_1%2FLibrerias_ANSI-C.pdf&ei=JdumT9L7DuSc2QWBhKmmAg&usg=AFQjCNHJsm0oKDVpJ20zu2ARQ2V2tjjcwQ&cad=rja">aquí </a><br />
<br />
<b>Librerias ANSI C</b> <br />
<br />
<div style="color: black;">
string.h cstring</div>
<blockquote class="tr_bq">
<b>Funciones disponibles</b>: <a href="http://docs.mis-algoritmos.com/c.funcion.memchr.html" title="memchr">memchr</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.memcmp.html" title="memcmp">memcmp</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.memcpy.html" title="memcpy">memcpy</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.memmove.html" title="memmove">memmove</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.memset.html" title="memset">memset</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strcat.html" title="strcat">strcat</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strchr.html" title="strchr">strchr</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strcmp.html" title="strcmp">strcmp</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strcoll.html" title="strcoll">strcoll</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strcpy.html" title="strcpy">strcpy</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strcspn.html" title="strcspn">strcspn</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strerror.html" title="strerror">strerror</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strlen.html" title="strlen">strlen</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strncat.html" title="strncat">strncat</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strncmp.html" title="strncmp">strncmp</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strncpy.html" title="strncpy">strncpy</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strpbrk.html" title="strpbrk">strpbrk</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strrchr.html" title="strrchr">strrchr</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strspn.html" title="strspn">strspn</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strstr.html" title="strstr">strstr</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strtok.html" title="strtok">strtok</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strxfrm.html" title="strxfrm">strxfrm</a>, </blockquote>
<br />
<a name='more'></a><br />
math.h cmath<br />
<blockquote class="tr_bq">
<b>Funciones disponibles</b>: <a href="http://docs.mis-algoritmos.com/c.funcion.acos.html" title="acos">acos</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.asin.html" title="asin">asin</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.atan.html" title="atan">atan</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.atan2.html" title="atan2">atan2</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.ceil.html" title="ceil">ceil</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.cos.html" title="cos">cos</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.cosh.html" title="cosh">cosh</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.exp.html" title="exp">exp</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fabs.html" title="fabs">fabs</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.floor.html" title="floor">floor</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fmod.html" title="fmod">fmod</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.frexp.html" title="frexp">frexp</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.ldexp.html" title="ldexp">ldexp</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.log.html" title="log">log</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.log10.html" title="log10">log10</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.modf.html" title="modf">modf</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.pow.html" title="pow">pow</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.sin.html" title="sin">sin</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.sinh.html" title="sinh">sinh</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.sqrt.html" title="sqrt">sqrt</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.tan.html" title="tan">tan</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.tanh.html" title="tanh">tanh</a>, </blockquote>
<br />
stdio.h cstdio<br />
<blockquote class="tr_bq">
<b>Funciones disponibles</b>: <a href="http://docs.mis-algoritmos.com/c.funcion.clearerr.html" title="clearerr">clearerr</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fclose.html" title="fclose">fclose</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.feof.html" title="feof">feof</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.ferror.html" title="ferror">ferror</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fflush.html" title="fflush">fflush</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fgetc.html" title="fgetc">fgetc</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fgetpos.html" title="fgetpos">fgetpos</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fgets.html" title="fgets">fgets</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fopen.html" title="fopen">fopen</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fprintf.html" title="fprintf">fprintf</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fputc.html" title="fputc">fputc</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fputs.html" title="fputs">fputs</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fread.html" title="fread">fread</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.freopen.html" title="freopen">freopen</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fscanf.html" title="fscanf">fscanf</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fseek.html" title="fseek">fseek</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fsetpos.html" title="fsetpos">fsetpos</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.ftell.html" title="ftell">ftell</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fwrite.html" title="fwrite">fwrite</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getc.html" title="getc">getc</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getcha.html" title="getcha">getcha</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.gets.html" title="gets">gets</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.perror.html" title="perror">perror</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.printf.html" title="printf">printf</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.putc.html" title="putc">putc</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.putchar.html" title="putchar">putchar</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.puts.html" title="puts">puts</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.remove.html" title="remove">remove</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.rename.html" title="rename">rename</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.rewind.html" title="rewind">rewind</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.scanf.html" title="scanf">scanf</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setbuf.html" title="setbuf">setbuf</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setvbuf.html" title="setvbuf">setvbuf</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.sprintf.html" title="sprintf">sprintf</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.sscanf.html" title="sscanf">sscanf</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.tmpfile.html" title="tmpfile">tmpfile</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.tmpnam.html" title="tmpnam">tmpnam</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.ungetc.html" title="ungetc">ungetc</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.vfprintf.html" title="vfprintf">vfprintf</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.vprintf.html" title="vprintf">vprintf</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.vsprintf.html" title="vsprintf">vsprintf</a>, </blockquote>
<br />
time.h ctime<br />
<blockquote class="tr_bq">
<b>Funciones disponibles</b>: <a href="http://docs.mis-algoritmos.com/c.funcion.asctime.html" title="asctime">asctime</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.clock.html" title="clock">clock</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.ctime.html" title="ctime">ctime</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.difftime.html" title="difftime">difftime</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.gmtime.html" title="gmtime">gmtime</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.localtime.html" title="localtime">localtime</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.mktime.html" title="mktime">mktime</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strftime.html" title="strftime">strftime</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.time.html" title="time">time</a>,</blockquote>
<br />
stdlib.h cstdlib<br />
<blockquote class="tr_bq">
<b>Funciones disponibles</b>: <a href="http://docs.mis-algoritmos.com/c.funcion.abort.html" title="abort">abort</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.abs.html" title="abs">abs</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.atexit.html" title="atexit">atexit</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.atof.html" title="atof">atof</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.atoi.html" title="atoi">atoi</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.atol.html" title="atol">atol</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.bsearch.html" title="bsearch">bsearch</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.calloc.html" title="calloc">calloc</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.div.html" title="div">div</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.exit.html" title="exit">exit</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.free.html" title="free">free</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getenv.html" title="getenv">getenv</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.labs.html" title="labs">labs</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.ldiv.html" title="ldiv">ldiv</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.malloc.html" title="malloc">malloc</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.mble.html" title="mble">mble</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.mbstowcs.html" title="mbstowcs">mbstowcs</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.mbtowc.html" title="mbtowc">mbtowc</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.qsort.html" title="qsort">qsort</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.rand.html" title="rand">rand</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.realloc.html" title="realloc">realloc</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.srand.html" title="srand">srand</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strtod.html" title="strtod">strtod</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strtol.html" title="strtol">strtol</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.strtoul.html" title="strtoul">strtoul</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.system.html" title="system">system</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.wctomb.html" title="wctomb">wctomb</a>, </blockquote>
<br />
ctype.h cctype<br />
<blockquote class="tr_bq">
<b>Funciones disponibles</b>: <a href="http://docs.mis-algoritmos.com/c.funcion.tolower.html" title="tolower">tolower</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.toupper.html" title="toupper">toupper</a>, </blockquote>
<br />
locale.h clocale<br />
<blockquote class="tr_bq">
<b>Funciones disponibles</b>: <a href="http://docs.mis-algoritmos.com/c.funcion.localeconv.html" title="localeconv">localeconv</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setlocale.html" title="setlocale">setlocale</a>, </blockquote>
<br />
signal.h csignal<br />
<blockquote class="tr_bq">
<b>Funciones disponibles</b>: <a href="http://docs.mis-algoritmos.com/c.funcion.raise.html" title="raise">raise</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.signal.html" title="signal">signal</a>, </blockquote>
<br />
setjmp.h csetjmp<br />
<blockquote class="tr_bq">
<b>Funciones disponibles</b>: <a href="http://docs.mis-algoritmos.com/c.funcion.longjmp.html" title="longjmp">longjmp</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setjmp.html" title="setjmp">setjmp</a>,</blockquote>
<br />
<br />
<b>Librerias Borland</b><br />
<br />
conio.h<br />
<blockquote class="tr_bq">
<b>Funciones disponibles</b>: <a href="http://docs.mis-algoritmos.com/c.funcion.cgets.html" title="cgets">cgets</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.clreol.html" title="clreol">clreol</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.clrscr.html" title="clrscr">clrscr</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.cprintf.html" title="cprintf">cprintf</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.cputs.html" title="cputs">cputs</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.cscanf.html" title="cscanf">cscanf</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.delline.html" title="delline">delline</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getch.html" title="getch">getch</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getche.html" title="getche">getche</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getpass.html" title="getpass">getpass</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.gettext.html" title="gettext">gettext</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.gettextinfo.html" title="gettextinfo">gettextinfo</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.gotoxy.html" title="gotoxy">gotoxy</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.highvideo.html" title="highvideo">highvideo</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.inport.html" title="inport">inport</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.insline.html" title="insline">insline</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.kbhit.html" title="kbhit">kbhit</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.lowvideo.html" title="lowvideo">lowvideo</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.movetext.html" title="movetext">movetext</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.normvideo.html" title="normvideo">normvideo</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.outport.html" title="outport">outport</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.putch.html" title="putch">putch</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.puttext.html" title="puttext">puttext</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.textattr.html" title="textattr">textattr</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.textbackground.html" title="textbackground">textbackground</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.textcolor.html" title="textcolor">textcolor</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.textmode.html" title="textmode">textmode</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.ungetch.html" title="ungetch">ungetch</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.wherex.html" title="wherex">wherex</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.wherey.html" title="wherey">wherey</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.window.html" title="window">window</a>, <a href="http://docs.mis-algoritmos.com/c.funcion._setcursortype.html" title="_setcursortype">_setcursortype</a>,</blockquote>
<br />
graphics.h <br />
<blockquote class="tr_bq">
<b>Funciones disponibles</b>: <a href="http://docs.mis-algoritmos.com/c.funcion.arc.html" title="arc">arc</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.bar.html" title="bar">bar</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.bar3d.html" title="bar3d">bar3d</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.circle.html" title="circle">circle</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.cleardevice.html" title="cleardevice">cleardevice</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.clearviewport.html" title="clearviewport">clearviewport</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.closegraph.html" title="closegraph">closegraph</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.detectgraph.html" title="detectgraph">detectgraph</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.drawpoly.html" title="drawpoly">drawpoly</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.ellipse.html" title="ellipse">ellipse</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fillellipse.html" title="fillellipse">fillellipse</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.fillpoly.html" title="fillpoly">fillpoly</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.floodfill.html" title="floodfill">floodfill</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getarccoords.html" title="getarccoords">getarccoords</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getaspectratio.html" title="getaspectratio">getaspectratio</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getbkcolor.html" title="getbkcolor">getbkcolor</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getcolor.html" title="getcolor">getcolor</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getdefaultpalette.html" title="getdefaultpalette">getdefaultpalette</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getdrivername.html" title="getdrivername">getdrivername</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getfillpattern.html" title="getfillpattern">getfillpattern</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getfillsettings.html" title="getfillsettings">getfillsettings</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getgraphmode.html" title="getgraphmode">getgraphmode</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getimage.html" title="getimage">getimage</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getlinesettings.html" title="getlinesettings">getlinesettings</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getmaxcolor.html" title="getmaxcolor">getmaxcolor</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getmaxmode.html" title="getmaxmode">getmaxmode</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getmaxx.html" title="getmaxx">getmaxx</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getmaxy.html" title="getmaxy">getmaxy</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getmodename.html" title="getmodename">getmodename</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getmoderange.html" title="getmoderange">getmoderange</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getpalette.html" title="getpalette">getpalette</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getpalettesize.html" title="getpalettesize">getpalettesize</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getpixel.html" title="getpixel">getpixel</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.gettextsettings.html" title="gettextsettings">gettextsettings</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getviewsettings.html" title="getviewsettings">getviewsettings</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.getx.html" title="getx">getx</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.gety.html" title="gety">gety</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.graphdefaults.html" title="graphdefaults">graphdefaults</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.grapherrormsg.html" title="grapherrormsg">grapherrormsg</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.graphresult.html" title="graphresult">graphresult</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.imagesize.html" title="imagesize">imagesize</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.initgraph.html" title="initgraph">initgraph</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.installuserdriver.html" title="installuserdriver">installuserdriver</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.installuserfont.html" title="installuserfont">installuserfont</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.line.html" title="line">line</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.linerel.html" title="linerel">linerel</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.lineto.html" title="lineto">lineto</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.moverel.html" title="moverel">moverel</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.moveto.html" title="moveto">moveto</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.outtext.html" title="outtext">outtext</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.outtextxy.html" title="outtextxy">outtextxy</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.pieslice.html" title="pieslice">pieslice</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.putimage.html" title="putimage">putimage</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.putpixel.html" title="putpixel">putpixel</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.rectangle.html" title="rectangle">rectangle</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.registerbgidriver.html" title="registerbgidriver">registerbgidriver</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.registerbgifont.html" title="registerbgifont">registerbgifont</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.restorecrtmode.html" title="restorecrtmode">restorecrtmode</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.sector.html" title="sector">sector</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setactivepage.html" title="setactivepage">setactivepage</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setallpalette.html" title="setallpalette">setallpalette</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setaspectratio.html" title="setaspectratio">setaspectratio</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setbkcolor.html" title="setbkcolor">setbkcolor</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setfillpattern.html" title="setfillpattern">setfillpattern</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setfillstyle.html" title="setfillstyle">setfillstyle</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setgraphbufsize.html" title="setgraphbufsize">setgraphbufsize</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setgraphmode.html" title="setgraphmode">setgraphmode</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setlinestyle.html" title="setlinestyle">setlinestyle</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setpalette.html" title="setpalette">setpalette</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setrgbpalette.html" title="setrgbpalette">setrgbpalette</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.settextjustify.html" title="settextjustify">settextjustify</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.settextstyle.html" title="settextstyle">settextstyle</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setusercharsize.html" title="setusercharsize">setusercharsize</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setviewport.html" title="setviewport">setviewport</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setvisualpage.html" title="setvisualpage">setvisualpage</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.setwritemode.html" title="setwritemode">setwritemode</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.textheight.html" title="textheight">textheight</a>, <a href="http://docs.mis-algoritmos.com/c.funcion.textwidth.html" title="textwidth">textwidth</a>, <a href="http://docs.mis-algoritmos.com/c.funcion._graphfreemem.html" title="_graphfreemem">_graphfreemem</a>, <a href="http://docs.mis-algoritmos.com/c.funcion._graphgetmem.html" title="_graphgetmem">_graphgetmem</a>, </blockquote>Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-11336320959271881782012-05-05T19:09:00.000-05:002012-05-05T19:18:45.145-05:00Variables y Declaraciones<b>¿Que son las variables?</b><br />
Normalmente las variables son caracteres (una letra) o una cadena de caracteres (una palabra) que recomendada mente debe de ser corta. Esta letra o palabra va a representar un valor, es el que lo contendrá.<br />
<br />
Imagina una variable como una cajita con una ventana al frente, tu meterás el valor dentro de la cajita, con valor me refiero a un numero, palabra o un carácter. Por ejemplo.<br />
<br />
<a name='more'></a><br />
Tu tienes 2 cajitas a la que les pones de nombre "steve" y "bob" , tus cajas están vacía, eso quiere decir que pueden contener un valor, tan solo en este ejemplo, y decides ponerle un 3 adentro de tu caja steve.<br />
Después de eso steve es igual a 3, pero ahora te surge la necesidad de ponerle el valor de 5 a tu caja, pero ya tienes un 3 adentro y todavía ocuparas el 3 antes puesto, es mejor que agarres tu caja bob, para que ahora tengas que steve = 3 y bob = 5.<br />
<br />
Pero en realidad tu vas a ocupar tu caja bob para otra cosa y el valor 3 en tu caja steve ya no te servirá mas, pues ya cumplió la función que le habías dado, entonces le dices "steve almacena un 5" (steve = 5) entonces steve almacenara un 5, tirando a la trituradora el 3. con esto me refiero a que si quieres ponerle un valor a tu caja, el anterior no se podrá recuperar.<br />
<br />
<b>Sumando y almacenando en "steve"</b><br />
<br />
te ah surgido la necesidad de sumar un 5 y un 1 y almacenarlo en nuestra variable steve (nuestra caja). entonces le dirás "steve almacena la suma de 5 y 1" (steve = 5 + 1) con eso steve almacenara la suma y cada vez que digas "muéstrate steve" no te dirá<br />
5 + 1 sino que te dira 6.<br />
Y asi con todas las operaciones.<br />
<br />
<b>Sumando a "steve" y a "bob" y almacenándolos en "burro".</b><br />
<br />
Suponiendo que steve = x y bob = y (pues le pedirás a alguien mas que le diga que valores de steve y bob) - y burro no tiene un valor puesto anteriormente.<br />
para hacer lo que necesitamos le diremos "burro almacena la suma de steve y bob"(burro = steve + bob)<br />
entonces la persona que pediste que pusiera valores elije 7 para steve y 3 para bob (steve = 7, bob = 3) entonces burro hará esto<br />
<br />
burro = steve (7) + bob (3)<br />
<br />
y dará el valor final, osease 10 y dirá cada ves que pidas mostrarse a burro que<br />
burro = 10<br />
<br />
Así acabo de explicar que son las variables.<br />
y lo que acabamos de hacer es una ecuación simple y con la lógica programamos la suma de 2 números.<br />
<br />
<b>Declarar variables.</b><br />
el declarar variables es como decir cuantas cajas ocuparas para hacer todo lo que quieres hacer, esto se hace antes que nada , también decir como se llamaran, ponerles etiquetas para que no se pierdan, y luego decir que tipo de valor contendrá, recuerda puede ser letra o palabra también.<br />
<b><br /></b><br />
<b>E</b>ntonces declaremos tus cajas<br />
<br />
burro - numero entero<br />
steve - numero entero<br />
bob - numero entero<br />
<br />
y eso es toda la declaración, estas dos cosas estaran presentes en todos tus programas, así que míralos, estúdialos, condénselos, invítales un café, y pásales tu numero o correo que seguro que los apreciaras como a un herman@<br />
<br />
-fin de la entrada-Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-46936014188402999482012-05-05T17:01:00.001-05:002012-05-05T17:03:05.573-05:00Resolviendo nuestras incógnitas!Como se que la mayoria de la gente piensa que leer es malo para la salud, tambien se que no leiste la introccion, pero aqui hay otra versión, <b>ES IMPORTATE QUE SEPAS LOS CONSEPTOS, </b>asi que a leer!<br />
<br />
Este post tampoco es mio, lo saque de softonic, pero les recopilo todo lo que pueda servir. si quieren verlo tal cual es entren <span style="color: #0000ee;"><u>aquí</u></span>.<br />
<br />
<a name='more'></a><br />
<span style="background-color: white; color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; text-align: left;">Cuando buscas una aplicación que lleve a cabo una función determinada y no consigues encontrarla, te enfrentas a un triste hecho: hay programas que todavía </span><a href="http://onsoftware.softonic.com/los-programas-que-no-existen" style="background-color: white; color: #006bc1; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; text-align: left; text-decoration: none;">no existen</a><span style="background-color: white; color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; text-align: left;">. Tal cual.</span><br />
<div style="background-color: white; color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;">
Puedes sentarte, llorar y esperar a que alguien programe esa aplicación... o puedes hacerla tú mismo. ¿Cómo? Pues aprendiendo un lenguaje de programación y creando desde cero el programa deseado.</div>
<div style="background-color: white; color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;">
Si decides emprender este camino de auto-aprendizaje, consulta la lista de consejos y recursos que presentamos a continuación. Quién sabe, un día podrías ver tu programa publicado en la appstore de apple o en la playstore de google.</div>
<div style="background-color: white; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;">
</div>
<h3 style="color: #333333; font-family: 'Century Gothic', Verdana, Arial, sans-serif; font-size: 1.4em; line-height: 1.2em; margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.3em; padding-left: 0px; padding-right: 0px; padding-top: 1em; text-align: -webkit-auto;">
No me hables en chino. ¿Qué es eso de programar?</h3>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Tu ordenador es una máquina que acepta y ejecuta órdenes. Estas órdenes pueden ser tan simples como escribir una letra en la pantalla o calcular una suma, y pueden tener varias formas, dependiendo del lenguaje empleado. A un ordenador no puedes decirle lo siguiente:</div>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px;">
Ordenador, quiero que me bajes esa caja de la estantería, la roja a la derecha.</div>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
No lo entenderá. En cambio, si escribes algo así, puede que te preste atención:</div>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px;">
010101010111010101001010111010101010111010011010100101010110011</div>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Ceros y unos, código máquina, el único idioma que sabe hablar un PC. Para nosotros no es práctico hablar así, con lo que recurrimos a lenguajes artificiales, que no son más que versiones simplificadas de nuestros idiomas. La frase inicial se parecería entonces a algo así:</div>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px;">
caja.Bajar(EstanteriaRoja3) = Verdad;</div>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Es feo, sí. Pero es mucho mejor que escribir ceros y unos, ¿no te parece? Esos puntos, espacios, puntos y coma y paréntesis sirven para delimitar exactamente lo que se quiere decir a la máquina, al igual que ocurre al escribir fórmulas matemáticas. Un ejemplo con coloreado de sintaxis:</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://imagenes.es.sftcdn.net/blog/es//2011/05/sample-python-code.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://imagenes.es.sftcdn.net/blog/es//2011/05/sample-python-code.png" /></a></div>
<div style="margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
</div>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Organizadas en párrafos especiales, todas las líneas de órdenes conforman lo que se conoce como "código fuente", las entrañas de un programa. Para convertirlo en un programa ejecutable, el código se "compila", esto es, se traduce a código máquina. Si no hay fallos (<em>bugs</em>), el programa se abrirá normalmente.</div>
<div>
<h3 style="color: #333333; font-family: 'Century Gothic', Verdana, Arial, sans-serif; font-size: 1.4em; line-height: 1.2em; margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.3em; padding-left: 0px; padding-right: 0px; padding-top: 1em; text-align: -webkit-auto;">
Eso está muy bien. Pero ¿qué lenguajes hay? ¿Cuál elijo?</h3>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Como los idiomas naturales, también los lenguajes de programación tienen su léxico, sintaxis y normas de puntuación, que varían en función de la complejidad del lenguaje. Algunos son más fáciles de leer que otros, y entonces se les llama "de alto nivel", pues se aproximan al habla humana; los de bajo nivel son más "robóticos".</div>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: center;">
<img alt="Lenguaje de bajo nivel" class="aligncenter size-full wp-image-12444" height="150" src="http://imagenes.es.sftcdn.net/blog/es//2011/05/machinecode.png" style="border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: block; margin-bottom: 12px; margin-left: auto; margin-right: auto; margin-top: 12px; padding-bottom: 0px; padding-left: 20px; padding-right: 20px; padding-top: 0px;" title="Lenguaje de bajo nivel" width="590" /><em>Las máquinas solo hablan con ceros y unos, un lenguaje incomprensible para un humano</em></div>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Para <a href="http://www.roesler-ac.de/wolfram/hello.htm" style="color: #006bc1; text-decoration: none;">imprimir una palabra</a> en un lenguaje de alto nivel como BASIC, basta con escribir <strong>PRINT "Hola"</strong> (<em>print</em>, en inglés, quiere decir "imprimir"; la mayoría de lenguajes usan palabras en inglés). En un lenguaje de nivel bajo, como el Ensamblador, la cosa cambia (no te asustes por lo que vas a ver, no son palabrotas):</div>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 30px; padding-right: 0px; padding-top: 0px;">
<em>SWI "OS_WriteS" EQUS "Hola" EQUB 0 ALIGN MOV PC,R14</em></div>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Te estarás preguntando quién puede preferir Ensamblador frente a otros lenguajes. Es una cuestión de rendimiento: el código de bajo nivel se ejecuta más rápido y aprovecha más la potencia de la máquina a la cual está ligado, mientras que un lenguaje de alto nivel es más universal; Java, por ejemplo, se ejecuta en cualquier sistema.</div>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: center;">
<em><a href="http://imagenes.es.sftcdn.net/blog/es//2011/05/languages.png" style="color: #006bc1; text-decoration: none;"><img alt="Los lenguajes de programación" class="aligncenter size-full wp-image-12446" height="279" src="http://imagenes.es.sftcdn.net/blog/es//2011/05/languages.png" style="-webkit-transition-delay: initial; -webkit-transition-duration: 0.5s; -webkit-transition-property: all; -webkit-transition-timing-function: ease-out; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: block; margin-bottom: 12px; margin-left: auto; margin-right: auto; margin-top: 12px; padding-bottom: 0px; padding-left: 20px; padding-right: 20px; padding-top: 0px;" title="Los lenguajes de programación" width="541" /></a></em><em>Casi todos los lenguajes de programación están emparentados entre sí</em> <em>(<a href="http://bluebones.net/evolution/evo-prog-lang.png" style="color: #006bc1; text-decoration: none;" target="_blank" title="Evo Prog Lang">imagen</a>)</em></div>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Hay <a href="http://en.wikipedia.org/wiki/List_of_programming_languages" style="color: #006bc1; text-decoration: none;">cientos de lenguajes de programación</a>, y, al igual que ocurre con los idiomas humanos, muchos tienen pocos "hablantes". Los hay que jamás han salido de las universidades y empresas donde los crearon, mientras que los más populares, por el contrario, se enseñan por doquier y cuentan con amplias comunidades de usuarios.</div>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Para crear aplicaciones de escritorio, los lenguajes<a href="http://langpop.com/" style="color: #006bc1; text-decoration: none;"> más populares</a> son <strong>C/C++, Java, Python, Visual Basic y Delphi</strong>. Su estilo es parecido, con lo que pasar de uno a otro requiere menos esfuerzo que hacerlo, por ejemplo, de Basic a Ensamblador. Sobre ellos hay una infinidad de libros, cursos y foros técnicos.</div>
<div style="color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
</div>
<h3 style="font-family: 'Century Gothic', Verdana, Arial, sans-serif; font-size: 1.4em; line-height: 1.2em; margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.3em; padding-left: 0px; padding-right: 0px; padding-top: 1em; text-align: -webkit-auto;">
Me aburro. Quiero programar ya.</h3>
<div style="margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
¡Vale! ¿Quieres saber qué se siente al hablar directamente con el ordenador? Empieza por probar alguno de los siguientes programas y enlaces. No hace falta saber muchas matemáticas, aunque algo de inglés te vendrá bien.</div>
<div style="margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<strong>1. Practica con robots virtuales</strong></div>
<div style="margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
La metáfora del robot -tienes un robot y le das órdenes- ha sido usada con éxito en miles de aulas. Hay varios programas que implementan esa metáfora para enseñar los fundamentos de la programación: <a href="http://guido-van-robot.softonic.com/" style="color: #006bc1; text-decoration: none;">Guido Van Robot</a>,<a href="http://robomind.softonic.com/" style="color: #006bc1; text-decoration: none;">RoboMind</a> y <a href="http://robotprog.softonic.com/" style="color: #006bc1; text-decoration: none;">RobotProg</a> son tres representantes destacados. Para algo más visual, prueba <a href="http://kodu.softonic.com/" style="color: #006bc1; text-decoration: none;">Kodu</a>.</div>
<div style="margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<img alt="RoboMind" class="aligncenter size-large wp-image-12447" height="428" src="http://imagenes.es.sftcdn.net/blog/es//2011/05/3_robomind1-600x428.jpg" style="border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: block; margin-bottom: 12px; margin-left: auto; margin-right: auto; margin-top: 12px; padding-bottom: 0px; padding-left: 20px; padding-right: 20px; padding-top: 0px;" title="RoboMind" width="600" /></div>
<div style="margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<strong>2. Lenguajes de programación educacionales</strong></div>
<div style="margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Hay lenguajes para todo los gustos: industriales, militares, académicos, empresariales... y también <a href="http://en.wikipedia.org/wiki/List_of_educational_programming_languages" style="color: #006bc1; text-decoration: none;">educacionales</a>. Estos lenguajes, como <a href="http://www.softonic.com/windows/logo" style="color: #006bc1; text-decoration: none;">LOGO</a>, son más fáciles de aprender y tienen menos instrucciones.</div>
<div style="margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: center;">
<img alt="Elica" class="aligncenter size-large wp-image-12448" height="485" src="http://imagenes.es.sftcdn.net/blog/es//2011/05/3_elica8.jpg-600x485.png" style="border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: block; margin-bottom: 12px; margin-left: auto; margin-right: auto; margin-top: 12px; padding-bottom: 0px; padding-left: 20px; padding-right: 20px; padding-top: 0px;" title="Elica" width="600" /><em><a href="http://elica.softonic.com/" style="color: #006bc1; text-decoration: none;">Elica</a> es un estupendo entorno de aprendizaje basado en el lenguaje LOGO</em></div>
<div style="margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<a href="http://microsoft-small-basic.softonic.com/" style="color: #006bc1; text-decoration: none;">Microsoft Small Basic</a> es el proyecto de Microsoft para enseñar programación a todos los públicos, mientras que <a href="http://mit-scratch.softonic.com/" style="color: #006bc1; text-decoration: none;">MIT Scratch</a> es el alabado proyecto del Massachussets Institute of Technology.</div>
<div style="margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<img alt="Microsoft Small Basic" class="aligncenter size-large wp-image-12449" height="395" src="http://imagenes.es.sftcdn.net/blog/es//2011/05/microsoft-small-basic-01-700x461-600x395.png" style="border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: block; margin-bottom: 12px; margin-left: auto; margin-right: auto; margin-top: 12px; padding-bottom: 0px; padding-left: 20px; padding-right: 20px; padding-top: 0px;" title="Microsoft Small Basic" width="600" /></div>
<div style="margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<strong>3. Prueba un lenguaje directamente en el navegador</strong></div>
<div style="margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Las páginas <a href="http://tryruby.org/" style="color: #006bc1; text-decoration: none;">TryRuby</a>, <a href="http://www.trypython.org/#" style="color: #006bc1; text-decoration: none;">TryPython</a> y <a href="http://tryhaskell.org/" style="color: #006bc1; text-decoration: none;">TryHaskell</a> son demostraciones interactivas de tres de los lenguajes más potentes y amenos que existen. No necesitas instalar nada: tan solo sigue las instrucciones en pantalla y comprueba por tu cuenta lo fácil que es crear y modificar órdenes con sentido.</div>
<div style="margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<img alt="TryRuby" class="aligncenter size-full wp-image-12450" height="207" src="http://imagenes.es.sftcdn.net/blog/es//2011/05/tryruby.png" style="border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: block; margin-bottom: 12px; margin-left: auto; margin-right: auto; margin-top: 12px; padding-bottom: 0px; padding-left: 20px; padding-right: 20px; padding-top: 0px;" title="TryRuby" width="588" /></div>
<h3 style="font-family: 'Century Gothic', Verdana, Arial, sans-serif; font-size: 1.4em; line-height: 1.2em; margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.3em; padding-left: 0px; padding-right: 0px; padding-top: 1em; text-align: -webkit-auto;">
¡Quiero aprender un lenguaje de verdad!</h3>
<div style="margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
En ese caso ármate de paciencia y toma en consideración el apuntarte a algún curso de programación. Para aprender por tu cuenta, necesitarás estos <a href="http://www.softonic.com/windows/programacion" style="color: #006bc1; text-decoration: none;">ingredientes</a>:</div>
<ul style="list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 1em; margin-right: 1em; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;">
<li style="list-style-position: inside; list-style-type: disc; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 1em; padding-right: 0px; padding-top: 0px;">Compiladores e intérpretes de un lenguaje concreto (p.ej. <a href="http://lenguaje-ruby.softonic.com/" style="color: #006bc1; text-decoration: none;">Ruby</a> o <a href="http://python.softonic.com/" style="color: #006bc1; text-decoration: none;">Python</a>)</li>
<li style="list-style-position: inside; list-style-type: disc; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 1em; padding-right: 0px; padding-top: 0px;">Un editor de texto para escribir tu código, como <a href="http://notepad.softonic.com/" style="color: #006bc1; text-decoration: none;">Notepad++</a> o <a href="http://scite.softonic.com/" style="color: #006bc1; text-decoration: none;">SciTE</a></li>
<li style="list-style-position: inside; list-style-type: disc; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 1em; padding-right: 0px; padding-top: 0px;">Manuales gratuitos (<a href="http://es.diveintopython.org/" style="color: #006bc1; text-decoration: none;">Inmersión en Python</a> y <a href="http://mundogeek.net/tutorial-python/" style="color: #006bc1; text-decoration: none;">Python para todos</a> son clásicos)</li>
</ul>
<div style="margin-bottom: 9px; margin-top: 9px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Una vez hayas elegido un lenguaje, hazte con la documentación, los editores de código, el intérprete (o compilador) y mucho tiempo libre. En caso de duda, consulta <a href="http://www.google.es/search?q=foro+programacion" style="color: #006bc1; text-decoration: none;">foros especializados</a> para preguntar dudas, ayudar a los demás y compartir código y conocimientos.</div>
</div>
<br />
<br />
<br />Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com0tag:blogger.com,1999:blog-3371348056941460779.post-20221908979533266742012-05-05T16:49:00.001-05:002012-05-05T17:02:54.458-05:00Álgebra de Boole<span style="background-color: white;"><span style="font-family: Verdana; font-size: 12px;">Introducción al álgebra de Boole </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Muchos componentes utilizados en sistemas de control, como contactores y relés, presentan dos estados claramente diferenciados (abierto o cerrado, conduce o no conduce). A este tipo de componentes se les denomina componentes todo o nada o también componentes lógicos. </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Para estudiar de forma sistemática el comportamiento de estos elementos, se representan los dos estados por los símbolos 1 y 0 (0 abierto, 1 cerrado). De esta forma podemos utilizar una serie de leyes y propiedades comunes con independencia del componente en sí; da igual que sea una puerta lógica, un relé, un transistor, etc... </span></span><br />
<a name='more'></a><span style="background-color: white;"><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Atendiendo a este criterio, todos los elementos del tipo todo o nada son representables por una variable lógica, entendiendo como tal aquella que sólo puede tomar los valores 0 y 1. El conjunto de leyes y reglas de operación de variables lógicas se denomina álgebra de Boole, ya que fue George Boole el que desarrolló las bases de la lógica matemática. </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Operaciones lógicas básicas </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Sea un conjunto formado por sólo dos elementos que designaremos por 0 y 1. Llamaremos variables lógicas a las que toman sólo los valores del conjunto, es decir 0 o 1. </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">En dicho conjunto se definen tres operaciones básicas: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">SUMA LOGICA: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Denominada también operación "O" (OR). Esta operación responde a la siguiente tabla: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">a b a+b </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 0 0 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 1 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 0 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 1 1 </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">PRODUCTO LOGICO: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Denominada también operación "Y" (AND). Esta operación responde a la siguiente tabla: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">a b a*b </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 0 0 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 1 0 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 0 0 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 1 1 </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">NEGACION LOGICA: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Denominada también operación "N" (NOT). Esta operación responde a la siguiente tabla: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">a a' </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 0 </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Propiedades del álgebra de Boole </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Las propiedades del conjunto en el que se han definido las operaciones (+, *, ') son las siguientes: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">PROPIEDAD CONMUTATIVA: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">De la suma: a+b = b+a</span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Del producto: a*b = b*a </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">PROPIEDAD ASOCIATIVA: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">De la suma: (a+b)+c = a+(b+c) = a+b+c</span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Del producto: (a*b)*c = a*(b*c) = a*b*c </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">LEYES DE IDEMPOTENCIA: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">De la suma: a+a = a ; a+a' = 1</span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Del producto: a*a = a ; a*a' = 0 </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">PROPIEDAD DISTRIBUTIVA: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">De la suma respecto al producto: a*(b+c) = (a*b) + (a*c)</span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Del producto respecto a la suma: a + (b*c) = (a+b) * (a+c) </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">LEYES DE DE MORGAN: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">(a+b+c)' = a'*b'*c'</span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">(a*b*c)' = a'+b'+c' </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Otras operaciones lógicas </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">A partir de las operaciones lógicas básicas se pueden realizar otras operaciones booleanas, las cuales son: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">NAND, cuya tabla correspondiente es: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">a b (a*b)' </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 0 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 1 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 0 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 1 0 </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">NOR, cuya tabla correspondiente es: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">a b (a+b)' </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 0 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 1 0 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 0 0 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 1 0 </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">XOR, también llamada función OR-EXCLUSIVA. Responde a la tabla: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">a b a(+)b </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 0 0 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 1 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 0 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 1 0 </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Compuertas lógicas </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;"> </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Toda puerta lógica consta de 1 o más entradas y 1 o 2 salidas (puede darse el caso de proporcionarse la salida y su negada). En todos los símbolos las entradas se encuentran a la izquierda y las salidas a la derecha. </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Estas puertas las podemos encontrar empaquetadas dentro de distintos circuitos integrados. Por ejemplo, para la familia lógica TTL tenemos las siguientes referencias: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">54/74 (LS) 00 Cuádruple puerta NAND de dos entradas</span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">54/74 (LS) 02 Cuádruple puerta NOR de dos entradas</span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">54/74 (LS) 04 Séxtuple puerta NOT</span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">54/74 (LS) 08 Cuádruple puerta AND de dos entradas</span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">54/74 (LS) 10 Triple puerta NAND de tres entradas</span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">54/74 (LS) 11 Triple puerta AND de tres entradas</span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">54/74 (LS) 20 Doble puerta NAND de cuatro entradas</span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">54/74 (LS) 21 Doble puerta AND de cuatro entradas</span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">54/74 (LS) 27 Triple puerta NOR de tres entradas</span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">54/74 (LS) 30 Puerta NAND de ocho entradas</span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">54/74 (LS) 32 Cuádruple puerta OR de dos entradas</span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Las puertas lógicas más frecuentes, baratas, y fáciles de encontrar son las NAND. Debido a esto se suelen implementar circuitos digitales con el mayor número de dichas puertas. </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Hay que mencionar en este punto que los niveles de tensión que se corresponden con los niveles lógicos 1 y 0 dependen de la familia lógica empleada. De momento basta saber que la familia TTL se alimenta con +5V, por lo que los niveles de tensión se corresponderán con +5V para el 1 lógico y 0V para el 0 lógico (idealmente hablando, claro). </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Funciones lógicas </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">La aplicación más directa de las puertas lógicas es la combinación entre dos o más de ellas para formar circuitos lógicos que responden a funciones lógicas. Una función lógica hace que una o más salidas tengan un determinado valor para un valor determinado de las entradas. </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Supongamos que tenemos dos entradas, A y B, y una salida F. Vamos a hacer que la salida sea 1 lógico cuando A y B tengan el mismo valor, siendo 0 la salida si A y B son diferentes. </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">En primer lugar veamos los valores de A y B que hacen 1 la función: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">A = 1 y B = 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">A = 0 y B = 0 </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Es decir, podemos suponer dos funciones de respuesta para cada caso: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">F1 = A*B (A y B a 1 hacen F1 1) </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">F2 = A'*B' (A y B a 0 hacen F2 1) </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">La suma de estas funciones será la función lógica final que buscamos: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">F = F1 + F2 = (A*B)+(A'*B') </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">A continuación vamos a ver como en muchos casos es posible simplificar la función lógica final en otra más simple sin alterar el funcionamiento del circuito. </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Simplificación de funciones </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Supongamos que tenemos un circuito donde "F" es la respuesta (salida) del mismo en función de las señales A, B, y C (entradas): </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">F = A*B*C + A'*B*C + B*C </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Esta función puede ser simplificable aplicando las propiedades del álgebra de Boole. En primer lugar aplicamos la propiedad distributiva: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">F = B*C*(A+A') + B*C </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Ahora aplicamos las leyes de idempotencia: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">F = B*C + B*C = B*C </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Como hemos podido ver en este ejemplo en muchas ocasiones se puede simplificar la función (y por tanto el circuito) sin que ello afecte al resultado. Más adelante veremos como simplificar funciones empleando otros métodos más sencillos y fiables. </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Tablas de verdad </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">DEFINICION: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Es una forma de representación de una función en la que se indica el valor 0 o 1 para cada valor que toma ésta por cada una de las posibles combinaciones que las variables de entrada pueden tomar. </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Anteriormente hemos visto las tablas de respuesta de cada una de las operaciones lógicas; estas tablas son tablas de verdad de sus correspondientes puertas lógicas. </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">La tabla de verdad es la herramienta que debemos emplear para obtener la forma canónica de la función del circuito, para así poder simplificar y conseguir la función más óptima. </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Veamos un ejemplo de la tabla de verdad para una NAND de cuatro entradas: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">A B C D F </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 0 0 0 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 0 0 1 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 0 1 0 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 0 1 1 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 1 0 0 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 1 0 1 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 1 1 0 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">0 1 1 1 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 0 0 0 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 0 0 1 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 0 1 0 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 0 1 1 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 1 0 0 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 1 0 1 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 1 1 0 1 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">1 1 1 1 0 </span><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;"> </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">Como podemos ver, si simplificamos la función obtenemos: </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">F = (A*B*C*D)' </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;">es decir, un puerta NAND de 4 entradas. </span><br style="font-family: Verdana; font-size: 12px;" /><br style="font-family: Verdana; font-size: 12px;" /><span style="font-family: Verdana; font-size: 12px;"> Autor: <a href="http://foro.elhacker.net/electronica/introduccion_al_algebra_de_boole-t20511.0.html">Miguel Angel Montejo Ráez</a></span></span>Anonymoushttp://www.blogger.com/profile/00824854240823527488noreply@blogger.com1