<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=1182831&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / Incomprehension du Random]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=1182831</link>
		<description><![CDATA[Les sujets les plus récents dans Incomprehension du Random.]]></description>
		<lastBuildDate>Tue, 29 Jan 2013 11:34:52 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  Incomprehension du Random]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12382541#p12382541</link>
			<description><![CDATA[<p>Bonjour,</p><p>Haaaaaa.....Ok. Je ne l&#039;avais pas compris comme cela. Ok bah du coup ça prend tout son sens.</p><p>Merci.<br />Bonne journée.</p>]]></description>
			<author><![CDATA[dummy@example.com (Latsuj)]]></author>
			<pubDate>Tue, 29 Jan 2013 11:34:52 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12382541#p12382541</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Incomprehension du Random]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12382531#p12382531</link>
			<description><![CDATA[<p>Ça n&#039;a rien a voir. Ici, il s&#039;agit d&#039;une opération arithmétique.<br />$((RANDOM%25)) =&gt; reste de la division de $RANDOM par 25<br />On ajoute 6 au résultat.</p>]]></description>
			<author><![CDATA[dummy@example.com (pingouinux)]]></author>
			<pubDate>Tue, 29 Jan 2013 11:33:09 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12382531#p12382531</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Incomprehension du Random]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12382371#p12382371</link>
			<description><![CDATA[<p>Bonjour,</p><p>Hum...Bizarre que le décalage soit fait apres, quand je pense aux chaines de caractère, c&#039;est l&#039;inverse ( ${chaine:decalage:longueur} ).<br />Ok, merci pour ta réponse.</p><p>Bonne journée.</p>]]></description>
			<author><![CDATA[dummy@example.com (Latsuj)]]></author>
			<pubDate>Tue, 29 Jan 2013 11:14:54 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12382371#p12382371</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Incomprehension du Random]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12381901#p12381901</link>
			<description><![CDATA[<p>Bonjour,<br />Le décalage de 6 permet d&#039;obtenir un entier aléatoire situé dans l&#039;intervalle [6,30], au lieu de [0,24].</p>]]></description>
			<author><![CDATA[dummy@example.com (pingouinux)]]></author>
			<pubDate>Tue, 29 Jan 2013 10:17:03 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12381901#p12381901</guid>
		</item>
		<item>
			<title><![CDATA[Incomprehension du Random]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12381801#p12381801</link>
			<description><![CDATA[<p>Bonjour,</p><p>Je suis tombé sur un code qui contient une ligne que je ne comprend malheuresement pas :</p><div class="codebox"><pre><code> nombre=$((RANDOM%25+6)) </code></pre></div><p>Si il n&#039;y avait pas le &quot;+6&quot;, j&#039;aurais compris. on aurait juste appliqué un modulo pour récupérer un nombre compris entre 0 et 24. Mais avec le +6, le resultat est assez inattendu pour ma part, on obtient un nombre compris entre 6 et 30. Pourquoi ? A quoi le + fait-il référence ? Pourquoi entre 6 et 30 ?</p><p>Merci d&#039;avance de vos réponses.<br />Latsuj</p>]]></description>
			<author><![CDATA[dummy@example.com (Latsuj)]]></author>
			<pubDate>Tue, 29 Jan 2013 10:08:03 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12381801#p12381801</guid>
		</item>
	</channel>
</rss>
