<?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[Multi-Konstruktor]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich schreib gerade eine 3D Vektor-Klasse. Nun hätt ich ganz gern einen Konstruktor, bei dem man drei x-beliebige zulässige Werte (z.B float, double, long, int ...) eingibt und in den Membern als double initialisiert werden (und das nicht automatisch !!)</p>
<p>Gruß und danke schon mal</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/192848/multi-konstruktor</link><generator>RSS for Node</generator><lastBuildDate>Sun, 27 Sep 2026 15:24:59 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/192848.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Sep 2007 11:49:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Multi-Konstruktor on Wed, 19 Sep 2007 11:49:48 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich schreib gerade eine 3D Vektor-Klasse. Nun hätt ich ganz gern einen Konstruktor, bei dem man drei x-beliebige zulässige Werte (z.B float, double, long, int ...) eingibt und in den Membern als double initialisiert werden (und das nicht automatisch !!)</p>
<p>Gruß und danke schon mal</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1368404</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1368404</guid><dc:creator><![CDATA[CatDog]]></dc:creator><pubDate>Wed, 19 Sep 2007 11:49:48 GMT</pubDate></item><item><title><![CDATA[Reply to Multi-Konstruktor on Wed, 19 Sep 2007 11:52:22 GMT]]></title><description><![CDATA[<p>Dann schreib doch diesen Konstruktor - wo ist da das Problem? (eigentlich reicht ein Ctor für double-Eingaben aus, andere Zahlentypen können implizit nach double konvertiert werden)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1368407</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1368407</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 19 Sep 2007 11:52:22 GMT</pubDate></item><item><title><![CDATA[Reply to Multi-Konstruktor on Wed, 19 Sep 2007 12:11:36 GMT]]></title><description><![CDATA[<p>jo, wie CStoll schon sagte:</p>
<pre><code class="language-cpp">vector3d(double x, double y, double z);
</code></pre>
<p>reicht aus...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1368423</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1368423</guid><dc:creator><![CDATA[dot]]></dc:creator><pubDate>Wed, 19 Sep 2007 12:11:36 GMT</pubDate></item><item><title><![CDATA[Reply to Multi-Konstruktor on Wed, 19 Sep 2007 12:29:57 GMT]]></title><description><![CDATA[<p>Reicht infolgedessen auch für den Divisionsoperator für Division mit einem Skalar</p>
<p>Vektor3D operator/(double dSkalar);</p>
<p>????</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1368450</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1368450</guid><dc:creator><![CDATA[CatDog]]></dc:creator><pubDate>Wed, 19 Sep 2007 12:29:57 GMT</pubDate></item><item><title><![CDATA[Reply to Multi-Konstruktor on Wed, 19 Sep 2007 12:31:48 GMT]]></title><description><![CDATA[<p>Ja, sollte reichen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1368454</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1368454</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 19 Sep 2007 12:31:48 GMT</pubDate></item></channel></rss>