<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Web de León</title>
	
	<link>http://www.geeklion.com</link>
	<description />
	<lastBuildDate>Tue, 30 Jun 2009 22:27:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-nc-sa/3.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/WebdeLeon" type="application/rss+xml" /><feedburner:emailServiceId>WebdeLeon</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Traducción de la Fecha de Wordpress 2.8 a Español</title>
		<link>http://feedproxy.google.com/~r/WebdeLeon/~3/C9kPcxTXRJA/</link>
		<comments>http://www.geeklion.com/2009/06/30/traduccion-de-la-fecha-de-wordpress-2-8-a-espanol/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 22:27:52 +0000</pubDate>
		<dc:creator>León</dc:creator>
				<category><![CDATA[Tutoriales]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Christian León]]></category>
		<category><![CDATA[Programación]]></category>

		<guid isPermaLink="false">http://www.geeklion.com/?p=360</guid>
		<description><![CDATA[Anteriormente había publicado como traducir la fecha de WordPress para la versión 2.6 y sus subversiones. El archivo locale.php es el que contiene el nombre de los días y meses, por tanto para tener la fecha de nuestro theme en español solo hay que traducir los nombres a español, este archivo se encuentra en la [...]]]></description>
			<content:encoded><![CDATA[<p>Anteriormente había publicado como traducir la fecha de WordPress para la versión 2.6 y sus subversiones. El archivo <strong>locale.php</strong> es el que contiene el nombre de los días y meses, por tanto para tener la fecha de nuestro theme en español solo hay que traducir los nombres a español, este archivo se encuentra en la carpeta <strong>wp-includes/</strong> del directorio donde se encuentran los archivos de tu Wordpress. Para hacer la traducción manualmente se hace casi exactamente igual que como lo mostré en este post &#8220;<a href="http://www.geeklion.com/2008/09/27/traduccion-de-la-fecha-de-wordpress-a-espanol/" target="_blank">Traducción de la Fecha de Wordpress a Español</a>&#8221; la única diferencia es que ahora están en otra posición las líneas a cambiar, algunas se movieron como 2 renglones o 3, en realidad no hay mucha diferencia esto paso debido a que se agregaron algunos comentarios en el archivo <strong>locale.php</strong> y se cambio la programación un poquito pero nada que afecte a las lineas que se requieren modificar. En ese post también se explica algunos formatos para escribir la fecha de tu theme de modo ordenado o como más te guste.</p>
<p>Aquí les dejo la versión del <strong>locale.php para WordPress 2.8</strong> ya con su traducción al español para que solo descompriman el <strong>locale.php</strong> del archivo <strong>.rar</strong> y lo peguen en su directorio <strong>wp-includes/</strong>, les preguntará si desean sobrescribir, denle que si <img src='http://www.geeklion.com/leon/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p style="text-align: center;"><a href="http://www.geeklion.com/leon/wp-content/uploads/2009/06/locale.rar"><strong>Click Aquí Para Descargar Locale.php en español para WordPress 2.8</strong></a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/44xwO0AG9-oXs6dUOduLRg-00FQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/44xwO0AG9-oXs6dUOduLRg-00FQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/44xwO0AG9-oXs6dUOduLRg-00FQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/44xwO0AG9-oXs6dUOduLRg-00FQ/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebdeLeon/~4/C9kPcxTXRJA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.geeklion.com/2009/06/30/traduccion-de-la-fecha-de-wordpress-2-8-a-espanol/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.geeklion.com/2009/06/30/traduccion-de-la-fecha-de-wordpress-2-8-a-espanol/</feedburner:origLink></item>
		<item>
		<title>Super MacBook</title>
		<link>http://feedproxy.google.com/~r/WebdeLeon/~3/pQK3Ln0Wguk/</link>
		<comments>http://www.geeklion.com/2009/06/28/super-macbook/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 23:25:54 +0000</pubDate>
		<dc:creator>León</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[Animaciones]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Vídeos]]></category>

		<guid isPermaLink="false">http://www.geeklion.com/?p=357</guid>
		<description><![CDATA[Una persona estaba trabajando en su Mac y repentinamente&#8230;
]]></description>
			<content:encoded><![CDATA[<p>Una persona estaba trabajando en su Mac y repentinamente&#8230;</p>
<a href="http://www.geeklion.com/2009/06/28/super-macbook/"><p><em>Click here to view the embedded video.</em></p></a>

<p><a href="http://feedads.g.doubleclick.net/~a/MSNEmrsr3RRdR_33skc4EHAqjKM/0/da"><img src="http://feedads.g.doubleclick.net/~a/MSNEmrsr3RRdR_33skc4EHAqjKM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/MSNEmrsr3RRdR_33skc4EHAqjKM/1/da"><img src="http://feedads.g.doubleclick.net/~a/MSNEmrsr3RRdR_33skc4EHAqjKM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebdeLeon/~4/pQK3Ln0Wguk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.geeklion.com/2009/06/28/super-macbook/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.geeklion.com/2009/06/28/super-macbook/</feedburner:origLink></item>
		<item>
		<title>La Guerra de los Emoticones</title>
		<link>http://feedproxy.google.com/~r/WebdeLeon/~3/g9QeMen2QXs/</link>
		<comments>http://www.geeklion.com/2009/06/28/la-guerra-de-los-emoticones/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 22:04:28 +0000</pubDate>
		<dc:creator>León</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Animaciones]]></category>
		<category><![CDATA[Vídeos]]></category>

		<guid isPermaLink="false">http://www.geeklion.com/?p=353</guid>
		<description><![CDATA[Un vídeo subtitulado muy divertido en el que los emoticones libran una difícil batalla  
]]></description>
			<content:encoded><![CDATA[<p>Un vídeo subtitulado muy divertido en el que los emoticones libran una difícil batalla <img src='http://www.geeklion.com/leon/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<a href="http://www.geeklion.com/2009/06/28/la-guerra-de-los-emoticones/"><p><em>Click here to view the embedded video.</em></p></a>

<p><a href="http://feedads.g.doubleclick.net/~a/XF1FC5AmS1maOpj0SGIPn8XFx84/0/da"><img src="http://feedads.g.doubleclick.net/~a/XF1FC5AmS1maOpj0SGIPn8XFx84/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/XF1FC5AmS1maOpj0SGIPn8XFx84/1/da"><img src="http://feedads.g.doubleclick.net/~a/XF1FC5AmS1maOpj0SGIPn8XFx84/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebdeLeon/~4/g9QeMen2QXs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.geeklion.com/2009/06/28/la-guerra-de-los-emoticones/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.geeklion.com/2009/06/28/la-guerra-de-los-emoticones/</feedburner:origLink></item>
		<item>
		<title>Desilusión</title>
		<link>http://feedproxy.google.com/~r/WebdeLeon/~3/XDYxX0RQv34/</link>
		<comments>http://www.geeklion.com/2009/05/08/desilusion/#comments</comments>
		<pubDate>Fri, 08 May 2009 17:31:28 +0000</pubDate>
		<dc:creator>León</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[WWW]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Navegadores]]></category>

		<guid isPermaLink="false">http://www.geeklion.com/?p=350</guid>
		<description><![CDATA[
Link: Palomitas y maiz
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.geeklion.com/leon/wp-content/uploads/2009/05/comic-palomitas-y-maiz1.jpg"><img class="size-full wp-image-351 aligncenter" title="Desilución - Internet Explorer" src="http://www.geeklion.com/leon/wp-content/uploads/2009/05/comic-palomitas-y-maiz1.jpg" alt="" width="403" height="1024" /></a></p>
<p style="text-align: left;">Link: <a title="Hemos Terminado" href="http://palomitasymaiz.wordpress.com/2009/04/06/hemos-terminado/">Palomitas y maiz</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/AluKQr7KjUB-K7edEU37BOJLBAA/0/da"><img src="http://feedads.g.doubleclick.net/~a/AluKQr7KjUB-K7edEU37BOJLBAA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/AluKQr7KjUB-K7edEU37BOJLBAA/1/da"><img src="http://feedads.g.doubleclick.net/~a/AluKQr7KjUB-K7edEU37BOJLBAA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebdeLeon/~4/XDYxX0RQv34" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.geeklion.com/2009/05/08/desilusion/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://www.geeklion.com/2009/05/08/desilusion/</feedburner:origLink></item>
		<item>
		<title>La maldición de ser informático</title>
		<link>http://feedproxy.google.com/~r/WebdeLeon/~3/0-nC3KzIGfQ/</link>
		<comments>http://www.geeklion.com/2009/05/05/la-maldicion-de-ser-informatico/#comments</comments>
		<pubDate>Tue, 05 May 2009 17:26:17 +0000</pubDate>
		<dc:creator>León</dc:creator>
				<category><![CDATA[127.0.0.1]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[WWW]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Vídeos]]></category>

		<guid isPermaLink="false">http://www.geeklion.com/?p=347</guid>
		<description><![CDATA[Un vídeo que vi hace algún tiempecillo :3 espero les guste y recuerden: &#8220;piénsenlo 2 veces antes de decirle a alguien que usted sabe algo sobre informática&#8221;, podría ser su perdición ya sea por preguntas muy básicas o hasta imposibles de responder xD , una buena solución es dejar a la persona preguntona contando del [...]]]></description>
			<content:encoded><![CDATA[<p>Un vídeo que vi hace algún tiempecillo :3 espero les guste y recuerden: &#8220;piénsenlo 2 veces antes de decirle a alguien que usted sabe algo sobre informática&#8221;, podría ser su perdición ya sea por preguntas muy básicas o hasta imposibles de responder xD , una buena solución es dejar a la persona preguntona contando del 1 al infinito <img src='http://www.geeklion.com/leon/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  . Aquí el vídeo:</p>
<a href="http://www.geeklion.com/2009/05/05/la-maldicion-de-ser-informatico/"><p><em>Click here to view the embedded video.</em></p></a>

<p><a href="http://feedads.g.doubleclick.net/~a/omRKzKaA8zrrshC25-2HicyvwUg/0/da"><img src="http://feedads.g.doubleclick.net/~a/omRKzKaA8zrrshC25-2HicyvwUg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/omRKzKaA8zrrshC25-2HicyvwUg/1/da"><img src="http://feedads.g.doubleclick.net/~a/omRKzKaA8zrrshC25-2HicyvwUg/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebdeLeon/~4/0-nC3KzIGfQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.geeklion.com/2009/05/05/la-maldicion-de-ser-informatico/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.geeklion.com/2009/05/05/la-maldicion-de-ser-informatico/</feedburner:origLink></item>
		<item>
		<title>Mi vida diaria</title>
		<link>http://feedproxy.google.com/~r/WebdeLeon/~3/JOfzMoGrSqY/</link>
		<comments>http://www.geeklion.com/2009/04/26/mi-vida-diaria/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 20:55:33 +0000</pubDate>
		<dc:creator>León</dc:creator>
				<category><![CDATA[127.0.0.1]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[WWW]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.geeklion.com/?p=343</guid>
		<description><![CDATA[
Vía: ElGeek.info
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.geeklion.com/leon/wp-content/uploads/2009/04/dailylife.gif"><img class="size-full wp-image-344 aligncenter" title="dailylife" src="http://www.geeklion.com/leon/wp-content/uploads/2009/04/dailylife.gif" alt="" width="499" height="495" /></a></p>
<p>Vía: <a href="http://elgeek.info/post/100387966/vida-diaria">ElGeek.info</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/-yUeyyERrWoSpOl4CB3pvt6Tozc/0/da"><img src="http://feedads.g.doubleclick.net/~a/-yUeyyERrWoSpOl4CB3pvt6Tozc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/-yUeyyERrWoSpOl4CB3pvt6Tozc/1/da"><img src="http://feedads.g.doubleclick.net/~a/-yUeyyERrWoSpOl4CB3pvt6Tozc/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebdeLeon/~4/JOfzMoGrSqY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.geeklion.com/2009/04/26/mi-vida-diaria/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.geeklion.com/2009/04/26/mi-vida-diaria/</feedburner:origLink></item>
		<item>
		<title>Shii – El Wii para mujeres</title>
		<link>http://feedproxy.google.com/~r/WebdeLeon/~3/bXh_QlYMgQ8/</link>
		<comments>http://www.geeklion.com/2009/04/25/shii-el-wii-para-mujeres/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 20:52:08 +0000</pubDate>
		<dc:creator>León</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Juegos]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.geeklion.com/?p=340</guid>
		<description><![CDATA[El mejor regalo que le puedes dar a tu esposa   :3
]]></description>
			<content:encoded><![CDATA[<p>El mejor regalo que le puedes dar a tu esposa <img src='http://www.geeklion.com/leon/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  :3</p>
<a href="http://www.geeklion.com/2009/04/25/shii-el-wii-para-mujeres/"><p><em>Click here to view the embedded video.</em></p></a>

<p><a href="http://feedads.g.doubleclick.net/~a/iBy-bZ1pe_0AJYr6eTcSi2wEqUQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/iBy-bZ1pe_0AJYr6eTcSi2wEqUQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/iBy-bZ1pe_0AJYr6eTcSi2wEqUQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/iBy-bZ1pe_0AJYr6eTcSi2wEqUQ/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebdeLeon/~4/bXh_QlYMgQ8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.geeklion.com/2009/04/25/shii-el-wii-para-mujeres/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.geeklion.com/2009/04/25/shii-el-wii-para-mujeres/</feedburner:origLink></item>
		<item>
		<title>Se me cae Google</title>
		<link>http://feedproxy.google.com/~r/WebdeLeon/~3/hqNRQPO-sao/</link>
		<comments>http://www.geeklion.com/2009/04/04/se-me-cae-google/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 20:48:52 +0000</pubDate>
		<dc:creator>León</dc:creator>
				<category><![CDATA[127.0.0.1]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.geeklion.com/?p=336</guid>
		<description><![CDATA[Últimamente se me ha estado cayendo mucho el google, alguien podría decirme ¿por que?
Miren ustedes mismos:
Google
]]></description>
			<content:encoded><![CDATA[<p>Últimamente se me ha estado cayendo mucho el google, alguien podría decirme ¿por que?</p>
<p>Miren ustedes mismos:</p>
<p style="text-align: center;"><a title="Click aquí para que vean que se me cae el google" href="http://www.chromeexperiments.com/hosted/gravity/index.html">Google</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/q4HH1pnqqTMv1Oz9F_I679Tq2_A/0/da"><img src="http://feedads.g.doubleclick.net/~a/q4HH1pnqqTMv1Oz9F_I679Tq2_A/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/q4HH1pnqqTMv1Oz9F_I679Tq2_A/1/da"><img src="http://feedads.g.doubleclick.net/~a/q4HH1pnqqTMv1Oz9F_I679Tq2_A/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebdeLeon/~4/hqNRQPO-sao" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.geeklion.com/2009/04/04/se-me-cae-google/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://www.geeklion.com/2009/04/04/se-me-cae-google/</feedburner:origLink></item>
		<item>
		<title>Confusión de Programación: Los inicios en C++</title>
		<link>http://feedproxy.google.com/~r/WebdeLeon/~3/Ps5gutZw09o/</link>
		<comments>http://www.geeklion.com/2009/03/25/confusion-de-programacion-los-inicios-en-c/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 06:18:58 +0000</pubDate>
		<dc:creator>León</dc:creator>
				<category><![CDATA[127.0.0.1]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[WWW]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Christian León]]></category>
		<category><![CDATA[Dev-C++]]></category>
		<category><![CDATA[MS-DOS]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.geeklion.com/?p=334</guid>
		<description><![CDATA[Hace 2 semanas y media un compañero de la universidad me presto una biblia de C++. Ese mismo fin de semana me puse a leer el librote y decidí probar el famosísimo &#8220;Hola Mundo&#8221;, aquí el programa:

#include&#60;iostream.h&#62;;
int main()
{
    cout &#60;&#60; &#34;Hola mundo, C++!&#34; &#60;&#60; endl;
    return 0;
}

Compilando y de [...]]]></description>
			<content:encoded><![CDATA[<p>Hace 2 semanas y media un compañero de la universidad me presto una biblia de C++. Ese mismo fin de semana me puse a leer el librote y decidí probar el famosísimo &#8220;Hola Mundo&#8221;, aquí el programa:</p>
<pre class="brush: c++">
#include&lt;iostream.h&gt;;
int main()
{
    cout &lt;&lt; &quot;Hola mundo, C++!&quot; &lt;&lt; endl;
    return 0;
}
</pre>
<p>Compilando y de pronto&#8230; zaz!!!</p>
<p><em>Línea 1.- #warning This file includes at least one deprecated or antiquated header.</em></p>
<p>Resulta ser que hay ciertos estándares que hay que seguir xD (aquí va otra paranoia mia tipo W3C), entonces busque algo de información al respecto y en efecto, ahora ya no lleva .h, ahora simplemente es <strong>#include&lt;iostream&gt;</strong> así que corregí y compilé nuevamente <img src='http://www.geeklion.com/leon/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  &#8230;</p>
<p><em>Línea 4.- In function int main(): cout undeclared (first use this function)<br />
Línea 4.- (Each undeclared identifier is reported only once for each function it appears in.): endl undeclared (first use this function)</em></p>
<p>Otra vez errores, ahora resulta ser de que <strong>cout</strong>, <strong>endl</strong>, <strong>cin</strong>, etc&#8230; necesitan declararse. Una de dos: dejar de programar en C++ por 2 años lo deja a uno bastante desactualizado ó nunca había usado un compilador que se basara en los estándares (en la prepa en la materia de programación estructurada usabamos borland y fueron cosas básicas las que aprendimos <img src='http://www.geeklion.com/leon/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ), aunque ya estoy pensando que pueden ser ambas razones pero bueno&#8230;</p>
<p>&#8230;investigando más sobre el tema encontré que para declararlos hay 3 formas distintas de hacer esto básicamente.</p>
<pre class="brush: c++">
//primera forma[GLOBAL]:
#include&lt;iostream&gt;
using namespace std;
int main()
{
/*instrucciones*/
}

//segunda forma[DECLARANDO UNA POR UNA]:
#include&lt;iostream&gt;
using std::cout;
using std::cin;
using std::endl;
//using std::/*etc..*/;
int main()
{
/*instrucciones*/
}

//tercera forma[DECLARANDO AL MOMENTO DE USO]:
#include&lt;iostream&gt;
int main()
{
	int x;
	std::cout &lt;&lt; &quot;Teclee un numero: &quot;;
	std::cin &gt;&gt; x;
	return 0;
}
</pre>
<p>En la primera forma le estas diciendo al compilador que declare todo lo contenido en el <strong>&#8220;namespace std&#8221;</strong> y esto puede causar conflictos al declarar accidentalmente una variable, clase o una función que tenga el mismo nombre que alguna en el <strong>&#8220;namespace std&#8221;</strong>, además de estar declarando todo el contenido del <strong>&#8220;namespace std&#8221;</strong> el cual posiblemente no llegues a ocupar por completo de modo que solo gastas recursos.</p>
<p>La segunda forma es la que usualmente recomiendan, ya que no declaras todo el contenido del <strong>&#8220;namspace std&#8221;</strong> si no solamente lo que usarás de él, sin embargo hasta cierto punto puede resultar poco práctico.</p>
<p>La tercera forma es la que uso yo, ya que de este modo por lo menos para mi queda más claro el código y además no es declarado de manera global, sino solamente donde es utilizado.</p>
<p>Ahora que ya corregi estos errores a compilar se ha dicho!!!</p>
<p>Aquí el nuevo código:</p>
<pre class="brush: c++">
#include&lt;iostream&gt;
int main()
{
	std::cout &lt;&lt; &quot;Hola mundo, C++&quot; &lt;&lt; std::endl;
	return 0;
}
</pre>
<p>Perfecto!!! ningún error, ¿a ver el ejecutable? <img src='http://www.geeklion.com/leon/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>zazzzz!!!! ¿murió el ejecutable? ¿pero por qué se cerro? T_T . Nuevamente a Googlear&#8230;<br />
otro tanto tiempo después&#8230;<br />
solución!!! usar <strong>system(&#8221;pause&#8221;);</strong>, pues bien veamos si funciona correctamente, reescribimos el código&#8230;</p>
<pre class="brush: c++">
#include&lt;iostream&gt;
int main()
{
	std::cout &lt;&lt; &quot;Hola mundo, C++&quot; &lt;&lt; std::endl;
	system(&quot;pause&quot;);
	return 0;
}
</pre>
<p>Al compilar esto el programa se detiene y muestra en pantalla un mensaje que dice: &#8220;Presione una tecla para continuar&#8230;&#8221; Vemos que el resultado es el esperado, el programa hace una pausa y al presionar cualquier tecla va al <strong>return 0;</strong> y se termina el programa, pero&#8230; ¿qué tal si quiero personalizar el mensaje?</p>
<p>Esa pregunta para alguien que ya sabe C++ es algo trivial e incluso pensé que encontraría una solución a la vuelta de la web y aunque no fue así de rápido, fue buena idea preguntarme eso ya que googleando la instrucción <strong>system(&#8221;pause&#8221;);</strong> me encontré con que no era algo correcto usarla debido a que efectuaba varias acciones:</p>
<p>1. Suspende el programa.<br />
2. Llama al sistema operativo.<br />
3. Abre la consola ó símbolo del sistema (ms-dos) [vuelve a ejecutar el sistema operativo en un subproceso].<br />
4. El sistema operativo debe encontrar el comando PAUSE.<br />
5. Destina la memoria para ejecutar el comando.<br />
6. Ejecuta el comando y espera la pulsación de alguna tecla.<br />
7. Libera la memoria.<br />
8. Sale del sistema operativo.<br />
9. Reanuda el programa.</p>
<p>Además de esto, NO ES COMPATIBLE EN OTROS SISTEMAS OPERATIVOS, es necesario usar winBugs para que la instrucción funcione correctamente, así que en cuanto a portabilidad para compilarlo en otro sistema ni pensarlo, no es multiplataforma.</p>
<p>Investigando al respecto encontré algunas alternativas. Para C: <strong>getchar()</strong>. Para C++: <strong>cin.get()</strong>. Como estoy programando en C++ la segunda opción es la necesaria para hacer lo que deseo pero antes de utilizar esta otra instrucción decidí googlear un poco más para ver si había alguna otra alternativa para hacer una pausa y esto fue lo que encontré: <strong>getch()</strong></p>
<p>Al tener estas 2 alternativas me dispuse a escribir las sentencias correspondientes, al recompilar el código hubo una diferencia notable pero pequeña entre ambas. El código:</p>
<pre class="brush: c++">
//usando cin.get()
#include&lt;iostream&gt;
int main()
{
	std::cout &lt;&lt; &quot;Hola mundo, C++&quot; &lt;&lt; std::endl;
	std::cin.get(); //usa std::
	return 0;
}

//usando getch()
#include&lt;iostream&gt;
#include&lt;conio.h&gt; //usa la librería conio.h
int main()
{
	std::cout &lt;&lt; &quot;Hola mundo, C++&quot; &lt;&lt; std::endl;
	getch(); //fácil de escribir
	return 0;
}
</pre>
<p>Al usar <strong>cin.get()</strong> lo que pasó fue que escribía cualquier caracter y aparecía en pantalla, de modo que es necesario presionar enter para cerrar el programa.</p>
<p>Al usar <strong>getch()</strong> me di cuenta que cerraba el programa al presionar cualquier caracter, de modo que estaba a punto de elegir usar <strong>getch()</strong> pero al recordar que usaba una líbrería más me puse a googlear nuevamente y me encontré que <strong>conio.h</strong> no pertenece a la biblioteca estandar de ANSI C y tampoco a la de C++, en efecto como lo podrán ver en los siguientes links: <a href="http://es.wikipedia.org/wiki/Librer%C3%ADa_est%C3%A1ndar_de_C++#Cabeceras_Est.C3.A1ndar">Biblioteca estandar C++</a>, <a href="http://es.wikipedia.org/wiki/Librer%C3%ADa_est%C3%A1ndar_de_C#ANSI_C_library_header_files">Biblioteca estandar C</a>.</p>
<p>Entonces aquí por comodidad pueden usar <strong>getch()</strong> aunque es MUY recomendable seguir los estándares <img src='http://www.geeklion.com/leon/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  además así se evitan incluir una librería extra que por cierto no está en el compilador de GNU/Linux. Ahora con respecto a <strong>cin.get()</strong> hay situaciones en las que usar esto no funciona como se espera debido a que cuando se pide un dato al usuario este se almacena en el buffer y por tanto para hacer que funcione correctamente <strong>cin.get()</strong> hay que limpiar ese buffer, para ello se utiliza <strong>cin.sync()</strong></p>
<p>Ahora el código final:</p>
<pre class="brush: c++">
#include&lt;iostream&gt;
int main()
{
	std::cout &lt;&lt; &quot;Hola mundo, C++&quot; &lt;&lt; std::endl;
	std::cin.sync(); /* En este ejemplo no es necesario agregar esta línea de código, solo es una referencia de su uso */
	std::cin.get();
	return 0;
}
</pre>
<p>Y bien así es como se pone un Hola mundo en C++ xD , trivial ¿no? y a pesar de todo este rollote se me hace más bonito C++ que Visual Basic, amén.</p>
<p>Nota: soy ateo igual que dios, pero pronto me volveré googleista ya que respondio muchas de mis plegarias que fueron expuestas en este post.<br />
Nota2: Si a alguien le sirvió de algo todo este rollo aquí explicado agradezcan a google (y a León!!! xD ).<br />
Nota3: Yo soy León <img src='http://www.geeklion.com/leon/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  .<br />
Nota4: Cualquier error ya sea de sintaxis o de cualquier otro tipo, duda o sugerencia favor de dejar un comentario al respecto.</p>
<p>Referencias: Google, Wikipedia y <a href="http://www.gidnetwork.com/b-61.html">GIDNetwork</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/7Nnodt_AF8qFT3au_sec1XEbEWM/0/da"><img src="http://feedads.g.doubleclick.net/~a/7Nnodt_AF8qFT3au_sec1XEbEWM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/7Nnodt_AF8qFT3au_sec1XEbEWM/1/da"><img src="http://feedads.g.doubleclick.net/~a/7Nnodt_AF8qFT3au_sec1XEbEWM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebdeLeon/~4/Ps5gutZw09o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.geeklion.com/2009/03/25/confusion-de-programacion-los-inicios-en-c/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		<feedburner:origLink>http://www.geeklion.com/2009/03/25/confusion-de-programacion-los-inicios-en-c/</feedburner:origLink></item>
		<item>
		<title>Let Down – Chester Bennington</title>
		<link>http://feedproxy.google.com/~r/WebdeLeon/~3/tBlQu_ckVV8/</link>
		<comments>http://www.geeklion.com/2009/03/22/let-down-chester-bennington/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 19:04:18 +0000</pubDate>
		<dc:creator>León</dc:creator>
				<category><![CDATA[127.0.0.1]]></category>
		<category><![CDATA[Chester Bennington]]></category>
		<category><![CDATA[Linkin Park]]></category>
		<category><![CDATA[Música]]></category>
		<category><![CDATA[Traducción]]></category>

		<guid isPermaLink="false">http://www.geeklion.com/?p=302</guid>
		<description><![CDATA[Esta canción se llama Let Down y es de Chester Bennington, esta canción saldrá en su nuevo disco que esta preparando solo, supuestamente este año saldrá su disco   !!!. Chester Bennington es el vocalista de Linkin Park, grupo que usa muchas metáforas en sus canciones, así que aquí se presentan algunas   [...]]]></description>
			<content:encoded><![CDATA[<p>Esta canción se llama Let Down y es de Chester Bennington, esta canción saldrá en su nuevo disco que esta preparando solo, supuestamente este año saldrá su disco <img src='http://www.geeklion.com/leon/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  !!!. Chester Bennington es el vocalista de Linkin Park, grupo que usa muchas metáforas en sus canciones, así que aquí se presentan algunas <img src='http://www.geeklion.com/leon/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  . Aquí les dejo la letra con su respectiva traducción <img src='http://www.geeklion.com/leon/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  . Algunas partes fueron traducidas muy literalmente para que quedara a tiempo con la canción :3 .</p>
<a href="http://www.geeklion.com/2009/03/22/let-down-chester-bennington/"><p><em>Click here to view the embedded video.</em></p></a>
<p><strong><span style="color: #803d16;">And the tears fall like rain<br />
</span></strong>Y las lágrimas cayeron como lluvia<br />
<strong><span style="color: #803d16;">Down my face again<br />
</span></strong>bajo mi cara de nuevo<br />
<strong><span style="color: #803d16;">Oh! the words you wouldn&#8217;t say<br />
</span></strong>oh! las palabras que no dirías<br />
<strong><span style="color: #803d16;">And the games you played<br />
</span></strong>y los juegos que jugaste<br />
<strong><span style="color: #803d16;">With my unfoolish heart<br />
</span></strong>con mi sensato corazón<br />
<strong><span style="color: #803d16;">Oh! I should have known this from the start<br />
</span></strong>Oh! debí haber sabido esto desde el principio<br />
<strong><span style="color: #803d16;"><br />
Oh! the winter and spring<br />
</span></strong>Oh! el invierno y la primavera<br />
<strong><span style="color: #803d16;">Going hand in hand<br />
</span></strong>Van de mano en mano<br />
<strong><span style="color: #803d16;">Just like my love and pain<br />
</span></strong>Exactamente como mi amor y dolor<br />
<strong><span style="color: #803d16;">How the thought of you cuts deep within the vein<br />
</span></strong>Como el pensar en ti corta profundo dentro de la vena<br />
<strong><span style="color: #803d16;">Oh! this brand new skin stretched across scared terrain<br />
</span></strong>Oh! esta piel nueva se extiende a través de un terreno asustado<br />
<strong><span style="color: #803d16;"><br />
I don&#8217;t wanna be let down<br />
</span></strong>No quiero ser decepcionado<br />
<strong><span style="color: #803d16;">I don&#8217;t wanna live my life again<br />
</span></strong>No quiero vivir mi vida de nuevo<br />
<strong><span style="color: #803d16;">Don&#8217;t wanna be led down the same old road<br />
</span></strong>No quiero ser conducido al mismo viejo camino<br />
<strong><span style="color: #803d16;">Said, I don&#8217;t wanna be let down<br />
</span></strong>Dije, No quiero ser decepcionado<br />
<strong><span style="color: #803d16;">I don&#8217;t wanna live my lies again<br />
</span></strong>No quiero vivir mis mentiras de nuevo<br />
<strong><span style="color: #803d16;">Don&#8217;t wanna be led down the same old road<br />
</span></strong>No quiero ser conducido al mismo viejo camino<br />
<strong><span style="color: #803d16;"><br />
<span style="color: #800000;">uh~uh~uh!</span></span></strong></p>
<p><strong><span style="color: #803d16;">All those years down the drain</span><br />
</strong>Todos esos años echados a perder*<br />
<strong><span style="color: #803d16;">Love was not enough<br />
</span></strong>El amor no fue suficiente<br />
<strong><span style="color: #803d16;">When you want everything<br />
</span></strong>Cuando tú querías todo<br />
<strong><span style="color: #803d16;">What I gave to you and now the end must start<br />
</span></strong>Lo que te di a ti y ahora el fin debe empezar<br />
<strong><span style="color: #803d16;">Oh! I should have listened to my heart<br />
</span></strong>Oh! debí haber escuchado a mi corazón<br />
<strong><span style="color: #803d16;"><br />
Cause I don&#8217;t wanna be let down<br />
</span></strong>Por que no quiero ser decepcionado<br />
<strong><span style="color: #803d16;">I don&#8217;t wanna live my life again<br />
</span></strong>No quiero vivir mi vida de nuevo<br />
<strong><span style="color: #803d16;">Don&#8217;t wanna be led down the same old road<br />
</span></strong>No quiero ser conducido al mismo viejo camino<br />
<strong><span style="color: #803d16;">Said, I don&#8217;t wanna be let down<br />
</span></strong>Dije, No quiero ser decepcionado<br />
<strong><span style="color: #803d16;">I don&#8217;t wanna live my lies again<br />
</span></strong>No quiero vivir mis mentiras de nuevo<br />
<strong><span style="color: #803d16;">Don&#8217;t wanna be led down the same old road<br />
</span></strong>No quiero ser conducido al mismo viejo camino<br />
<strong><span style="color: #803d16;"><br />
<span style="color: #800000;">&#8230;oh~oh~oh!<br />
oh~oh~oh~oh!</span></span></strong></p>
<p><strong><span style="color: #803d16;">I don&#8217;t wanna be let down</span><br />
</strong>No quiero ser decepcionado<br />
<strong><span style="color: #803d16;">I don&#8217;t wanna live my life again<br />
</span></strong>No quiero vivir mi vida de nuevo<br />
<strong><span style="color: #803d16;">Don&#8217;t wanna be led down the same old road<br />
</span></strong>No quiero ser conducido al mismo viejo camino<br />
<strong><span style="color: #803d16;">Said, I don&#8217;t wanna be let down<br />
</span></strong>Dije, No quiero ser decepcionado<br />
<strong><span style="color: #803d16;">I don&#8217;t wanna live my lies again<br />
</span></strong>No quiero vivir mis mentiras de nuevo<br />
<strong><span style="color: #803d16;">Don&#8217;t wanna be led down the same old road<br />
</span></strong>No quiero ser conducido al mismo viejo camino</p>
<p>Nota*: La traducción literal es algo como &#8220;bajan al drenaje&#8221;<br />
Nota2: No soy traductor xD así que puede contener errores la letra <img src='http://www.geeklion.com/leon/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  . Espero les guste xD . Próximamente mas MDFs xD .</p>

<p><a href="http://feedads.g.doubleclick.net/~a/r06rBKlUHuZznm31_5wbUVkPdj8/0/da"><img src="http://feedads.g.doubleclick.net/~a/r06rBKlUHuZznm31_5wbUVkPdj8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/r06rBKlUHuZznm31_5wbUVkPdj8/1/da"><img src="http://feedads.g.doubleclick.net/~a/r06rBKlUHuZznm31_5wbUVkPdj8/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WebdeLeon/~4/tBlQu_ckVV8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.geeklion.com/2009/03/22/let-down-chester-bennington/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		<feedburner:origLink>http://www.geeklion.com/2009/03/22/let-down-chester-bennington/</feedburner:origLink></item>
	</channel>
</rss>
