<?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[(void) ?]]></title><description><![CDATA[<p>Hallo,</p>
<p>kurze Frage: Was bedeutet es, wenn ich bei einer C++ Methode als einzigen Parameter &quot;void&quot; habe? Also z.B. sowas:</p>
<pre><code class="language-cpp">void MyClass::Process(void)
{
  //...
}
</code></pre>
<p>Warum das &quot;void&quot; als Parameter? Könnte ich dann nicht auch einfach eine leere Parameterliste übergeben?</p>
<p>Gruß</p>
<p>mtp</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/121193/void</link><generator>RSS for Node</generator><lastBuildDate>Sat, 22 Aug 2026 14:47:14 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/121193.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Sep 2005 07:49:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to (void) ? on Wed, 21 Sep 2005 07:49:57 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>kurze Frage: Was bedeutet es, wenn ich bei einer C++ Methode als einzigen Parameter &quot;void&quot; habe? Also z.B. sowas:</p>
<pre><code class="language-cpp">void MyClass::Process(void)
{
  //...
}
</code></pre>
<p>Warum das &quot;void&quot; als Parameter? Könnte ich dann nicht auch einfach eine leere Parameterliste übergeben?</p>
<p>Gruß</p>
<p>mtp</p>
]]></description><link>https://www.c-plusplus.net/forum/post/876811</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/876811</guid><dc:creator><![CDATA[mtp]]></dc:creator><pubDate>Wed, 21 Sep 2005 07:49:57 GMT</pubDate></item><item><title><![CDATA[Reply to (void) ? on Wed, 21 Sep 2005 07:50:57 GMT]]></title><description><![CDATA[<p>eigentlich ja</p>
]]></description><link>https://www.c-plusplus.net/forum/post/876813</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/876813</guid><dc:creator><![CDATA[Vorden]]></dc:creator><pubDate>Wed, 21 Sep 2005 07:50:57 GMT</pubDate></item><item><title><![CDATA[Reply to (void) ? on Wed, 21 Sep 2005 07:52:14 GMT]]></title><description><![CDATA[<p>das ist aus C-Zeiten wenn ich mich recht erinner. Void hieß glaube ich keine Parameter und () war sonst wie viele Parameter.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/876817</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/876817</guid><dc:creator><![CDATA[Pellaeon]]></dc:creator><pubDate>Wed, 21 Sep 2005 07:52:14 GMT</pubDate></item><item><title><![CDATA[Reply to (void) ? on Wed, 21 Sep 2005 08:01:03 GMT]]></title><description><![CDATA[<p>alles klar. danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/876825</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/876825</guid><dc:creator><![CDATA[mtp]]></dc:creator><pubDate>Wed, 21 Sep 2005 08:01:03 GMT</pubDate></item><item><title><![CDATA[Reply to (void) ? on Wed, 21 Sep 2005 08:13:59 GMT]]></title><description><![CDATA[<p>Pellaeon schrieb:</p>
<blockquote>
<p>das ist aus C-Zeiten wenn ich mich recht erinner. Void hieß glaube ich keine Parameter und () war sonst wie viele Parameter.</p>
</blockquote>
<p>richtig erinnert.<br />
in c++ ist es nicht unangebracht, () zu schreiben, weil das alle tun und weil es keinen technischen grund für (void) mehr gibt. () heißt in c++ auch: keine parameter.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/876839</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/876839</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Wed, 21 Sep 2005 08:13:59 GMT</pubDate></item><item><title><![CDATA[Reply to (void) ? on Wed, 21 Sep 2005 08:27:39 GMT]]></title><description><![CDATA[<p>volkard schrieb:</p>
<blockquote>
<p>Pellaeon schrieb:</p>
<blockquote>
<p>das ist aus C-Zeiten wenn ich mich recht erinner. Void hieß glaube ich keine Parameter und () war sonst wie viele Parameter.</p>
</blockquote>
<p>richtig erinnert.<br />
in c++ ist es nicht unangebracht, () zu schreiben, weil das alle tun und weil es keinen technischen grund für (void) mehr gibt. () heißt in c++ auch: keine parameter.</p>
</blockquote>
<p>Hab bisher auch immer () geschrieben. Kannte es auch nicht anders, deswegen meine Frage <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>
]]></description><link>https://www.c-plusplus.net/forum/post/876849</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/876849</guid><dc:creator><![CDATA[mtp]]></dc:creator><pubDate>Wed, 21 Sep 2005 08:27:39 GMT</pubDate></item></channel></rss>