<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[falsche Zahlen werden generiert.]]></title><description><![CDATA[<p>Leute Problem <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Bekomme daraus Zahlen über 100 manchmal raus.</p>
<p><em>rand() % 96 + 56</em></p>
<p>Wo ist das Problem?</p>
<p>Danke im voraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/325627/falsche-zahlen-werden-generiert</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 05:04:11 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/325627.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 10 May 2014 23:13:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to falsche Zahlen werden generiert. on Sat, 10 May 2014 23:13:52 GMT]]></title><description><![CDATA[<p>Leute Problem <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Bekomme daraus Zahlen über 100 manchmal raus.</p>
<p><em>rand() % 96 + 56</em></p>
<p>Wo ist das Problem?</p>
<p>Danke im voraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2398548</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398548</guid><dc:creator><![CDATA[Chechen65]]></dc:creator><pubDate>Sat, 10 May 2014 23:13:52 GMT</pubDate></item><item><title><![CDATA[Reply to falsche Zahlen werden generiert. on Sat, 10 May 2014 23:15:45 GMT]]></title><description><![CDATA[<p>Äh und was denkst du, was das machen soll?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2398549</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398549</guid><dc:creator><![CDATA[blob!]]></dc:creator><pubDate>Sat, 10 May 2014 23:15:45 GMT</pubDate></item><item><title><![CDATA[Reply to falsche Zahlen werden generiert. on Sat, 10 May 2014 23:16:25 GMT]]></title><description><![CDATA[<p>blob! schrieb:</p>
<blockquote>
<p>Äh und was denkst du, was das machen soll?</p>
</blockquote>
<p>Zahlen zwischen 96 und 56 generieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2398550</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398550</guid><dc:creator><![CDATA[Chechen65]]></dc:creator><pubDate>Sat, 10 May 2014 23:16:25 GMT</pubDate></item><item><title><![CDATA[Reply to falsche Zahlen werden generiert. on Sat, 10 May 2014 23:22:17 GMT]]></title><description><![CDATA[<p>Dann müsste es 56 + rand() % 41 heißen.<br />
Guck dir doch mal an, was der modulo-Operator macht.<br />
Außerdem: <a href="http://en.cppreference.com/w/cpp/numeric/random" rel="nofollow">http://en.cppreference.com/w/cpp/numeric/random</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2398553</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398553</guid><dc:creator><![CDATA[blob!]]></dc:creator><pubDate>Sat, 10 May 2014 23:22:17 GMT</pubDate></item><item><title><![CDATA[Reply to falsche Zahlen werden generiert. on Sat, 10 May 2014 23:45:54 GMT]]></title><description><![CDATA[<p>blob! schrieb:</p>
<blockquote>
<p>Dann müsste es 56 + rand() % 41 heißen.<br />
Guck dir doch mal an, was der modulo-Operator macht.<br />
Außerdem: <a href="http://en.cppreference.com/w/cpp/numeric/random" rel="nofollow">http://en.cppreference.com/w/cpp/numeric/random</a></p>
</blockquote>
<p>Vielen Dank. Daran hab ich eigentlich schon auch gedacht einfach 56 dazu rechnen, aber dachte es gebe noch eine andere Möglichkeit.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2398556</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398556</guid><dc:creator><![CDATA[Chechen65]]></dc:creator><pubDate>Sat, 10 May 2014 23:45:54 GMT</pubDate></item></channel></rss>