<?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[Darstellung zufälliger Punkte (Borland C++)]]></title><description><![CDATA[<p>Innerhalb eines Grafikfensters sollen immer wieder zufällig Punkte dargestellt (gesetzt) werden.<br />
Erstellen Sie für einen Punkt eine entsprechende Klasse mit den dazugehörigen Methoden.<br />
Beachten Sie, dass sich der Punkt nicht ausserhalb des Fensterbereichs bewegen darf.</p>
<p>Kann mir hier bitte jemand weiterhelfen???</p>
<p>THX</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/192866/darstellung-zufälliger-punkte-borland-c</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 22:23:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/192866.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Sep 2007 13:17:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Darstellung zufälliger Punkte (Borland C++) on Wed, 19 Sep 2007 13:17:19 GMT]]></title><description><![CDATA[<p>Innerhalb eines Grafikfensters sollen immer wieder zufällig Punkte dargestellt (gesetzt) werden.<br />
Erstellen Sie für einen Punkt eine entsprechende Klasse mit den dazugehörigen Methoden.<br />
Beachten Sie, dass sich der Punkt nicht ausserhalb des Fensterbereichs bewegen darf.</p>
<p>Kann mir hier bitte jemand weiterhelfen???</p>
<p>THX</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1368505</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1368505</guid><dc:creator><![CDATA[DO_YOU]]></dc:creator><pubDate>Wed, 19 Sep 2007 13:17:19 GMT</pubDate></item><item><title><![CDATA[Reply to Darstellung zufälliger Punkte (Borland C++) on Wed, 19 Sep 2007 13:19:41 GMT]]></title><description><![CDATA[<p>Einfachste Lösung: Du bestimmst (natürlich zufällig) die Koordinaten des Punktes und beschränkst sie auf den Fenster-Bereich (für den Zufall bietet C++ die Funktion rand() an).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1368508</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1368508</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 19 Sep 2007 13:19:41 GMT</pubDate></item><item><title><![CDATA[Reply to Darstellung zufälliger Punkte (Borland C++) on Wed, 19 Sep 2007 13:21:17 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Wir machen hier nicht deine Hausaufgaben. Also fang erstmal an das umzusetzen. Wenn du dann eine konkrete Frage hast kannst du hier nochmal fragen.</p>
<p>/Edit : Zu spät... CStoll ist heute einfach zu nett <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1368510</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1368510</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 19 Sep 2007 13:21:17 GMT</pubDate></item><item><title><![CDATA[Reply to Darstellung zufälliger Punkte (Borland C++) on Wed, 19 Sep 2007 13:25:16 GMT]]></title><description><![CDATA[<p>Also so weit bin ich schon, aber wie kann ich dass nun im Builder umsetzten???</p>
<p>#include &quot;stdafx.h&quot;<br />
#include &quot;stdio.h&quot;</p>
<p>class Punkt{<br />
private:<br />
int x;<br />
int y;</p>
<p>public:<br />
void set_xy(int xx, int yy){<br />
x = xx;<br />
y = yy;<br />
}</p>
<p>int get_x(){<br />
return(x);<br />
}</p>
<p>int get_y(){<br />
return(y);<br />
}</p>
<p>void bewegePunkt(int dx, int dy){<br />
set_xy(x +dx, y +dy);<br />
}</p>
<p>void druckePunktKoordinaten(){<br />
printf(&quot;x-Koordinate=%d y-Koordinate=%d\n&quot;,x,y);<br />
}<br />
}; // class Punkt</p>
<p>int main(){<br />
Punkt p;</p>
<p>p.set_xy(10, 20);<br />
p.bewegePunkt(2, 3);<br />
p.druckePunktKoordinaten();<br />
return 0;<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1368517</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1368517</guid><dc:creator><![CDATA[DO_YOU]]></dc:creator><pubDate>Wed, 19 Sep 2007 13:25:16 GMT</pubDate></item><item><title><![CDATA[Reply to Darstellung zufälliger Punkte (Borland C++) on Wed, 19 Sep 2007 13:30:36 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-14774.html" rel="nofollow">akari</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-2.html" rel="nofollow">VCL/CLX (Borland C++ Builder)</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-15.html" rel="nofollow">C++</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1368524</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1368524</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Wed, 19 Sep 2007 13:30:36 GMT</pubDate></item><item><title><![CDATA[Reply to Darstellung zufälliger Punkte (Borland C++) on Wed, 19 Sep 2007 13:43:44 GMT]]></title><description><![CDATA[<p>Der Ansatz ist schonmal nicht schlecht (btw sfds), nun mußt du nur noch den &quot;zufällig&quot;-Anteil einbauen - und dafür sorgen, daß die Punkte nicht über's Ziel hinausschießen.</p>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/7971">@akari</a>: Was soll der Thread im C++ Board? Für die Darstellung der Punkte braucht er doch eindeutig die Hilfe der BCB-Experten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1368537</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1368537</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 19 Sep 2007 13:43:44 GMT</pubDate></item><item><title><![CDATA[Reply to Darstellung zufälliger Punkte (Borland C++) on Wed, 19 Sep 2007 13:43:55 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-18038.html" rel="nofollow">CStoll</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-15.html" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-2.html" rel="nofollow">VCL/CLX (Borland C++ Builder)</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1368538</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1368538</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Wed, 19 Sep 2007 13:43:55 GMT</pubDate></item><item><title><![CDATA[Reply to Darstellung zufälliger Punkte (Borland C++) on Wed, 19 Sep 2007 13:56:35 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich sehe in dem Quellcode aber keine einzige Builder-spezifische Zeile.<br />
Das ist ein normales Konsolenprogramm, da kann auch der Builder mit seiner VCL keine Punkte darstellen (im Sinne von einzelnen Pixeln).</p>
<p>(Mal davon abgesehen das zumindestens mein BCB5 keine stdafx.h besitzt, das deutet eher auf MS VC++ hin)</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1368543</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1368543</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 19 Sep 2007 13:56:35 GMT</pubDate></item><item><title><![CDATA[Reply to Darstellung zufälliger Punkte (Borland C++) on Wed, 19 Sep 2007 14:09:12 GMT]]></title><description><![CDATA[<p>Sowas kommt wohl davon, wenn jemand ein Konsolen-Programm mit GUI ergänzen will <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>DO_YOU schrieb:</p>
<blockquote>
<p>Also so weit bin ich schon, aber wie kann ich dass nun im Builder umsetzten???</p>
</blockquote>
<p>@DO_YOU: Was für ein System verwendest du denn überhaupt (nur damit der Thread dort hinkommt, wo er hingehört)? Sonst können wir hier gerne weiter Thread-PingPong spielen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1368564</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1368564</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 19 Sep 2007 14:09:12 GMT</pubDate></item></channel></rss>