<?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[...als Parameter in Funktion]]></title><description><![CDATA[<p>Was hat das mit den ... hier für eine bedeutung?</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
using namespace std;

void f  ( ... )
{

}

int main()
{

int a = 3;

f(a);

system(&quot;PAUSE&quot;);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/309492/als-parameter-in-funktion</link><generator>RSS for Node</generator><lastBuildDate>Wed, 05 Aug 2026 06:30:42 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/309492.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Oct 2012 11:22:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ...als Parameter in Funktion on Wed, 24 Oct 2012 11:22:45 GMT]]></title><description><![CDATA[<p>Was hat das mit den ... hier für eine bedeutung?</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
using namespace std;

void f  ( ... )
{

}

int main()
{

int a = 3;

f(a);

system(&quot;PAUSE&quot;);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2263491</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2263491</guid><dc:creator><![CDATA[para_meter]]></dc:creator><pubDate>Wed, 24 Oct 2012 11:22:45 GMT</pubDate></item><item><title><![CDATA[Reply to ...als Parameter in Funktion on Wed, 24 Oct 2012 11:25:59 GMT]]></title><description><![CDATA[<p>Es bezeichnet eine Ellipse, d. h. es können beliebig viele Argumente an f übergeben werden (a la printf). Obwohl f in diesem speziellen Fall keine Möglickeit hat, diese zu verwenden.</p>
<p>Ohne vorhergehende Parameter habe ich so etwas bislang nur an Funktionszeigern gesehen, und da auch nur, um ein C-API durch einen C++-Compiler quetschen zu können. Besser ist es, für solche Sachen variadische Templates zu benutzen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2263494</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2263494</guid><dc:creator><![CDATA[seldon]]></dc:creator><pubDate>Wed, 24 Oct 2012 11:25:59 GMT</pubDate></item><item><title><![CDATA[Reply to ...als Parameter in Funktion on Wed, 24 Oct 2012 11:59:13 GMT]]></title><description><![CDATA[<p>Und wie kann ich die übergebenen Argumente dann in der Funktion f verwenden?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2263502</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2263502</guid><dc:creator><![CDATA[para_meter]]></dc:creator><pubDate>Wed, 24 Oct 2012 11:59:13 GMT</pubDate></item><item><title><![CDATA[Reply to ...als Parameter in Funktion on Wed, 24 Oct 2012 12:06:09 GMT]]></title><description><![CDATA[<p><a href="http://www.cplusplus.com/reference/clibrary/cstdarg/" rel="nofollow">http://www.cplusplus.com/reference/clibrary/cstdarg/</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2263504</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2263504</guid><dc:creator><![CDATA[Fellhuhn]]></dc:creator><pubDate>Wed, 24 Oct 2012 12:06:09 GMT</pubDate></item><item><title><![CDATA[Reply to ...als Parameter in Funktion on Wed, 24 Oct 2012 12:42:20 GMT]]></title><description><![CDATA[<p>para_meter schrieb:</p>
<blockquote>
<p>Und wie kann ich die übergebenen Argumente dann in der Funktion f verwenden?</p>
</blockquote>
<p>nun, wenn die Anzahl der Parameter schon zur Zeit der Definition feststeht, so wie in Fellhuhns Link.</p>
<p>Sonst gar nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2263513</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2263513</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Wed, 24 Oct 2012 12:42:20 GMT</pubDate></item><item><title><![CDATA[Reply to ...als Parameter in Funktion on Wed, 24 Oct 2012 13:27:45 GMT]]></title><description><![CDATA[<p>Wie soll man denn <code>va_start</code> ohne die Angabe des Parameters vor der Ellipse aufrufen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2263545</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2263545</guid><dc:creator><![CDATA[TyRoXx]]></dc:creator><pubDate>Wed, 24 Oct 2012 13:27:45 GMT</pubDate></item><item><title><![CDATA[Reply to ...als Parameter in Funktion on Wed, 24 Oct 2012 13:44:32 GMT]]></title><description><![CDATA[<p>Probieren und beten. <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>
]]></description><link>https://www.c-plusplus.net/forum/post/2263560</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2263560</guid><dc:creator><![CDATA[Fellhuhn]]></dc:creator><pubDate>Wed, 24 Oct 2012 13:44:32 GMT</pubDate></item></channel></rss>