<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Random numbers</title>
	<atom:link href="http://chris-software.com/index.php/2009/04/27/random-number/feed/" rel="self" type="application/rss+xml" />
	<link>http://chris-software.com/index.php/2009/04/27/random-number/</link>
	<description>iPhone, iPod touch games, Objective-C Tutorials, krzysztofrutkowski.com</description>
	<lastBuildDate>Sun, 05 Feb 2012 19:19:36 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: porn watch</title>
		<link>http://chris-software.com/index.php/2009/04/27/random-number/comment-page-1/#comment-252714</link>
		<dc:creator>porn watch</dc:creator>
		<pubDate>Fri, 16 Dec 2011 14:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=642#comment-252714</guid>
		<description>look videos watch</description>
		<content:encoded><![CDATA[<p>look videos watch</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: send free fax</title>
		<link>http://chris-software.com/index.php/2009/04/27/random-number/comment-page-1/#comment-238346</link>
		<dc:creator>send free fax</dc:creator>
		<pubDate>Fri, 02 Dec 2011 00:01:09 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=642#comment-238346</guid>
		<description>Nice way to have random numbers [5,14] such as:
5 + arc4random() % 10  

Thanks.</description>
		<content:encoded><![CDATA[<p>Nice way to have random numbers [5,14] such as:<br />
5 + arc4random() % 10  </p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Squrk</title>
		<link>http://chris-software.com/index.php/2009/04/27/random-number/comment-page-1/#comment-122126</link>
		<dc:creator>Squrk</dc:creator>
		<pubDate>Mon, 08 Aug 2011 17:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=642#comment-122126</guid>
		<description>float initRan;
initRan = 5 + arc4random() % 16;
myRandomNumber = initRan / 10;</description>
		<content:encoded><![CDATA[<p>float initRan;<br />
initRan = 5 + arc4random() % 16;<br />
myRandomNumber = initRan / 10;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://chris-software.com/index.php/2009/04/27/random-number/comment-page-1/#comment-2824</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 25 Sep 2009 08:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=642#comment-2824</guid>
		<description>Check this: http://www.daniweb.com/forums/thread98545.html
or google for more. It&#039;s more typical task for all C programmers, rather than iPhone devs.</description>
		<content:encoded><![CDATA[<p>Check this: <a href="http://www.daniweb.com/forums/thread98545.html" rel="nofollow">http://www.daniweb.com/forums/thread98545.html</a><br />
or google for more. It&#8217;s more typical task for all C programmers, rather than iPhone devs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: superbeginer</title>
		<link>http://chris-software.com/index.php/2009/04/27/random-number/comment-page-1/#comment-2758</link>
		<dc:creator>superbeginer</dc:creator>
		<pubDate>Sun, 20 Sep 2009 20:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=642#comment-2758</guid>
		<description>how to random float number from 0.5 to 2.0</description>
		<content:encoded><![CDATA[<p>how to random float number from 0.5 to 2.0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://chris-software.com/index.php/2009/04/27/random-number/comment-page-1/#comment-1988</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 10 Jul 2009 17:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=642#comment-1988</guid>
		<description>x is an integer? otherwise it&#039;s not possible


% in this case gives you the rest from division so:

5 % 3 = 2 
18 % 4 = 2 (18 - 4x4 = 2)
20 % 4 = 0 (20 - 4x5 = 0);
6 % 3 = 6 (6 - 3x0 = 6);</description>
		<content:encoded><![CDATA[<p>x is an integer? otherwise it&#8217;s not possible</p>
<p>% in this case gives you the rest from division so:</p>
<p>5 % 3 = 2<br />
18 % 4 = 2 (18 &#8211; 4&#215;4 = 2)<br />
20 % 4 = 0 (20 &#8211; 4&#215;5 = 0);<br />
6 % 3 = 6 (6 &#8211; 3&#215;0 = 6);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alon</title>
		<link>http://chris-software.com/index.php/2009/04/27/random-number/comment-page-1/#comment-1977</link>
		<dc:creator>Alon</dc:creator>
		<pubDate>Thu, 09 Jul 2009 09:01:50 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=642#comment-1977</guid>
		<description>I use this 
x = arc4random()% 480;

and I get sometimes numbers that 500+ ?

how can it be?</description>
		<content:encoded><![CDATA[<p>I use this<br />
x = arc4random()% 480;</p>
<p>and I get sometimes numbers that 500+ ?</p>
<p>how can it be?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

