<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
>
	<channel>
		<title>Dudas de Programacion &#187; Tag: codigo - Recent Topics</title>
		<link>http://www.dudasprogramacion.com/tags/codigo</link>
		<description>Dudas sobre lenguajes y apis de programación</description>
		<language>en-US</language>
		<pubDate>Tue, 07 Feb 2012 22:39:14 +0000</pubDate>
		<generator>bbpress 1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.dudasprogramacion.com/search.php</link>
		</textInput>
		<atom:link href="http://www.dudasprogramacion.com/rss/tags/codigo/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>mrvlls on "Hora del Servidor"</title>
			<link>http://www.dudasprogramacion.com/topic/hora-del-servidor#post-504</link>
			<pubDate>Mon, 14 Jun 2010 09:12:28 +0000</pubDate>
			<dc:creator>mrvlls</dc:creator>
			<guid isPermaLink="false">504@http://www.dudasprogramacion.com/</guid>
			<description><p>Hola </p>
<p>He usado el código que tienen para el tema de mostrar la hora del servidor de una pag. web <a href="http://lineadecodigo.com/asp/reloj-con-la-hora-del-servidor/" rel="nofollow">http://lineadecodigo.com/asp/reloj-con-la-hora-del-servidor/</a>, y lo he adaptado para mi página (un par de modificaciones de alguna variable, poca cosa). El caso es que el resultado que obtengo es NaN:NaN:NaN. Pero es más, copiando el código integro en una página en blanco y ejecutándolo me sale el mismo resultado que antes. </p>
<p>Me estoy volviendo loco y no sé como hacerlo, tengo hecho una prueba con otro código, pero el resultado es la hora de cada máquina cliente, y que por supuesto no me vale para el fin que estoy buscando. Si me pudieseis ayudar, os estaría muy agradecido, muchas gracias por todo y un saludo </p>
<p>Víctor Pizarro
</p></description>
		</item>
		<item>
			<title>admin on "AYUDA FORO: Como poner código fuente"</title>
			<link>http://www.dudasprogramacion.com/topic/ayuda-foro-como-poner-codigo-fuente#post-502</link>
			<pubDate>Sat, 12 Jun 2010 19:26:43 +0000</pubDate>
			<dc:creator>admin</dc:creator>
			<guid isPermaLink="false">502@http://www.dudasprogramacion.com/</guid>
			<description><p>Mediante el manejo de etiquetas en las entradas del foro podréis incluir código fuente resaltado de una forma sencilla.</p>
<p>Primero veamos cual es el resultado:</p>
<pre class="java" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> HolaMundo <span style="color: #009900;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> args<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Asystem+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Hola Mundo&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">  <span style="color: #009900;">&#125;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div></li></ol></pre>
<p>Para utilizarlo tenéis que usar la etiqueta PRE:</p>
<pre class="html4strict" style="font-family:monospace;"><span style="color: #ddbb00;">&amp;#60;</span> pre<span style="color: #ddbb00;">&amp;#62;</span>Codigo<span style="color: #ddbb00;">&amp;#60;</span> /pre<span style="color: #ddbb00;">&amp;#62;</span></pre>
<p>Si no ponéis atributos a la etiqueta PRE, se queda el formato por defecto. Pero podéis hacer que se realice el formato por lenguajes de programación. Esto lo conseguimos mediante el atributo LANG.</p>
<p>El siguiente código formatearía como si fuese Java:</p>
<pre class="html4strict" style="font-family:monospace;"><span style="color: #ddbb00;">&amp;#60;</span> pre lang='java'<span style="color: #ddbb00;">&amp;#62;</span>Codigo<span style="color: #ddbb00;">&amp;#60;</span> /pre<span style="color: #ddbb00;">&amp;#62;</span></pre>
<p>Si, queremos añadir una numeración a las líneas, utilizaremos el atributo LINENO, dándole el número de la línea por el que queremos empezar</p>
<pre class="html4strict" style="font-family:monospace;"><span style="color: #ddbb00;">&amp;#60;</span> pre lineno='1'<span style="color: #ddbb00;">&amp;#62;</span>codigo</pre>
<p>Por último podemos combinar los dos atributos, quedando el siguiente código</p>
<pre class="html4strict" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;#60;</span> pre lang='java' lineno='1'<span style="color: #ddbb00;">&amp;#62;</span>public class HolaMundo {</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">  public static void main(String[] args) {</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    System.out.println(&quot;Hola Mundo&quot;);</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">  }</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">}<span style="color: #ddbb00;">&amp;#60;</span> /pre<span style="color: #ddbb00;">&amp;#62;</span></div></li></ol></pre></description>
		</item>
		<item>
			<title>mauropadillaruiz on "como comentar en html en blogger?"</title>
			<link>http://www.dudasprogramacion.com/topic/como-comentar-en-html-en-blogger#post-104</link>
			<pubDate>Fri, 17 Apr 2009 15:09:19 +0000</pubDate>
			<dc:creator>mauropadillaruiz</dc:creator>
			<guid isPermaLink="false">104@http://www.dudasprogramacion.com/</guid>
			<description><p>la cosa es que cundo intento comentar  un codigo ya sea una imagen o lo que sea no sirve no me deja comentar y me pone &#34;Su HTML no es aceptable: Tag is not allowed: &#60;body&#62;&#34;</p>
<p>ayudaaaaaa!!!
</p></description>
		</item>
		<item>
			<title>Alonso on "sistemas de ecuaciones"</title>
			<link>http://www.dudasprogramacion.com/topic/sistemas-de-ecuaciones#post-122</link>
			<pubDate>Wed, 27 May 2009 22:34:06 +0000</pubDate>
			<dc:creator>Alonso</dc:creator>
			<guid isPermaLink="false">122@http://www.dudasprogramacion.com/</guid>
			<description><p>hola a tod@s necesito hacer un programa en visual basic que resuelva ecuaciones de tres y cuatro incognitas por el metodo de suma y resta y no tengo idea de como hacerlo.....<br />
porfa necesito de su ayuda soy nuevo en esto de programacion.......<br />
porfa echenme una mano con mi deber..........
</p></description>
		</item>

	</channel>
</rss>

