<?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[Täglich neue Zufallszahl]]></title><description><![CDATA[<p>Hallo ich hab aus Spaß ein Tageslaune Programm gemacht welches eine Zahl generiert zwischen 1-100 (mit randomize) nun will ich aber das die Zahl nur Täglich wechselt und nicht bei jedem Start, bzw jedem Klick, gibts da eine möglichkeit?</p>
<p>Gruß<br />
Manuh</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/180895/täglich-neue-zufallszahl</link><generator>RSS for Node</generator><lastBuildDate>Sat, 15 Aug 2026 16:09:34 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/180895.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 May 2007 20:03:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Täglich neue Zufallszahl on Mon, 07 May 2007 20:03:10 GMT]]></title><description><![CDATA[<p>Hallo ich hab aus Spaß ein Tageslaune Programm gemacht welches eine Zahl generiert zwischen 1-100 (mit randomize) nun will ich aber das die Zahl nur Täglich wechselt und nicht bei jedem Start, bzw jedem Klick, gibts da eine möglichkeit?</p>
<p>Gruß<br />
Manuh</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1280558</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1280558</guid><dc:creator><![CDATA[Iksde]]></dc:creator><pubDate>Mon, 07 May 2007 20:03:10 GMT</pubDate></item><item><title><![CDATA[Reply to Täglich neue Zufallszahl on Mon, 07 May 2007 20:40:16 GMT]]></title><description><![CDATA[<p>lese beim Start das Datum aus und schreibe es in eine Datei/Registry o.ä., bevor Du es neu in die Datei schreibst, lasse es vergleichen. Auch die Zufallszahl speichern. Ist es das gleiche Datum benutze die gespeicherte Zufallszahl ansonsten lasse eine neue kreieren und schreibe das Datum und die Zufallszahl neu in die Datei usw..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1280579</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1280579</guid><dc:creator><![CDATA[OldMan00]]></dc:creator><pubDate>Mon, 07 May 2007 20:40:16 GMT</pubDate></item><item><title><![CDATA[Reply to Täglich neue Zufallszahl on Tue, 08 May 2007 06:43:31 GMT]]></title><description><![CDATA[<p>Oder du berechnest den Seed für deinen Zufallsgenerator aus dem aktuellen Datum (ohne Uhrzeit).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1280649</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1280649</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Tue, 08 May 2007 06:43:31 GMT</pubDate></item><item><title><![CDATA[Reply to Täglich neue Zufallszahl on Tue, 08 May 2007 15:20:24 GMT]]></title><description><![CDATA[<p>Und wie genau geht das?<br />
Bin gerade Anfänger, würde mich dennoch interessieren!<br />
Wäre auch sehr dankbar um Erklärung!</p>
<p>Gruß<br />
Manuh</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1280987</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1280987</guid><dc:creator><![CDATA[Iksde]]></dc:creator><pubDate>Tue, 08 May 2007 15:20:24 GMT</pubDate></item><item><title><![CDATA[Reply to Täglich neue Zufallszahl on Tue, 08 May 2007 15:36:15 GMT]]></title><description><![CDATA[<p>zeig mal was Du schon hast und dann beschäftige Dich mal mit der Hilfe in BCB. Wie man sie benutzt wird hier im Forum (glaube in FAQs) erklärt.<br />
Du wirst hier keinen fertigen Code bekommen zum abschreiben, das mußt Du schon selbst machen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1281000</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1281000</guid><dc:creator><![CDATA[OldMan00]]></dc:creator><pubDate>Tue, 08 May 2007 15:36:15 GMT</pubDate></item><item><title><![CDATA[Reply to Täglich neue Zufallszahl on Wed, 09 May 2007 13:23:42 GMT]]></title><description><![CDATA[<p>Das hab ich bis jetzt:</p>
<pre><code class="language-cpp">//---------------------------------------------------------------------------

#include &lt;vcl.h&gt;
#pragma hdrstop

#include &quot;TagesLauneCPP.h&quot;
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource &quot;*.dfm&quot;
TForm1 *Form1;
int Laune;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)
{

}
//---------------------------------------------------------------------------

void __fastcall TForm1::Button1Click(TObject *Sender)
{
randomize();
 Laune = random(100+1);
Label3 -&gt; Caption = Laune;
}
//---------------------------------------------------------------------------
void __fastcall TForm1::FormCreate(TObject *Sender)
{

}
//---------------------------------------------------------------------------
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1281625</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1281625</guid><dc:creator><![CDATA[Iksde]]></dc:creator><pubDate>Wed, 09 May 2007 13:23:42 GMT</pubDate></item></channel></rss>