<?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[C++ &amp;quot;C++ function is called by another function?&amp;quot;]]></title><description><![CDATA[<p>&quot;C++ function is called by another function.&quot;<br />
And the function header describes the interface between a function the function that calls it.</p>
<pre><code>int main(void) // function header

statements // statements  (function body)
return 0; //terminates function (function body)
</code></pre>
<p>Die Sache ist, welche ich nicht verstehe, ist -&gt; &quot;C++ function called by another function&quot;<br />
Also nehme ich mal an, dass das &quot;main&quot; die Funktion ist... doch von welcher wird sie aufgerufen/aktiviert (int?)? Und dann wird zwischen den 2 Funktionen (int und main??) ja die Verbindung beschrieben...</p>
<p>Was wird da genau beschrieben? Wenn es int die Funktion &quot;main&quot; aufrufen sollte.<br />
*******************************************</p>
<p>Zweite Frage: void main()<br />
Ist es folgerichtig, weil &quot;void&quot; als Datentyp bedeutet, die Funktion gibt keinen Wert zurück und benötigt kein &quot;return 0;&quot;</p>
<p>Wieso ist das richtig?</p>
<p>Im Buch steht, dass später darauf eingegangen wird.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/340298/c-quot-c-function-is-called-by-another-function-quot</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 05:38:16 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/340298.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 30 Oct 2016 14:46:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to C++ &amp;quot;C++ function is called by another function?&amp;quot; on Sun, 30 Oct 2016 14:46:12 GMT]]></title><description><![CDATA[<p>&quot;C++ function is called by another function.&quot;<br />
And the function header describes the interface between a function the function that calls it.</p>
<pre><code>int main(void) // function header

statements // statements  (function body)
return 0; //terminates function (function body)
</code></pre>
<p>Die Sache ist, welche ich nicht verstehe, ist -&gt; &quot;C++ function called by another function&quot;<br />
Also nehme ich mal an, dass das &quot;main&quot; die Funktion ist... doch von welcher wird sie aufgerufen/aktiviert (int?)? Und dann wird zwischen den 2 Funktionen (int und main??) ja die Verbindung beschrieben...</p>
<p>Was wird da genau beschrieben? Wenn es int die Funktion &quot;main&quot; aufrufen sollte.<br />
*******************************************</p>
<p>Zweite Frage: void main()<br />
Ist es folgerichtig, weil &quot;void&quot; als Datentyp bedeutet, die Funktion gibt keinen Wert zurück und benötigt kein &quot;return 0;&quot;</p>
<p>Wieso ist das richtig?</p>
<p>Im Buch steht, dass später darauf eingegangen wird.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513462</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513462</guid><dc:creator><![CDATA[Bladestorm]]></dc:creator><pubDate>Sun, 30 Oct 2016 14:46:12 GMT</pubDate></item><item><title><![CDATA[Reply to C++ &amp;quot;C++ function is called by another function?&amp;quot; on Sun, 30 Oct 2016 15:04:19 GMT]]></title><description><![CDATA[<p>Du hast hoffentlich eine Altpapiertonne.</p>
<p>void main ist nicht Standrd C++ und hat in einem Anfängerbuch bestenfalls etwas im Anhang zu suchen.</p>
<p>Warum nimmst du bei &quot;int main&quot; an, dass int eine Funktion ist, während du bei &quot;void main&quot; richtigerweise vom Returntyp der Funktion ausgehst?</p>
<p>In main muss nie etwas zurückgeben werden. Wie main aufgerufen wird, hängt von deinem Compiler/Betriebssystem ab.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513469</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513469</guid><dc:creator><![CDATA[manni66]]></dc:creator><pubDate>Sun, 30 Oct 2016 15:04:19 GMT</pubDate></item><item><title><![CDATA[Reply to C++ &amp;quot;C++ function is called by another function?&amp;quot; on Sun, 30 Oct 2016 15:05:37 GMT]]></title><description><![CDATA[<p>Da steht zwar, dass es logisch folgerichtig ist, aber nicht immer funktioniert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513470</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513470</guid><dc:creator><![CDATA[Bladestorm]]></dc:creator><pubDate>Sun, 30 Oct 2016 15:05:37 GMT</pubDate></item><item><title><![CDATA[Reply to C++ &amp;quot;C++ function is called by another function?&amp;quot; on Sun, 30 Oct 2016 15:06:39 GMT]]></title><description><![CDATA[<p>Na ja, stimmt... aber welche Funktion ruft eine Funktion auf? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> Das will ich eigentlich wissen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513471</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513471</guid><dc:creator><![CDATA[Bladestorm]]></dc:creator><pubDate>Sun, 30 Oct 2016 15:06:39 GMT</pubDate></item><item><title><![CDATA[Reply to C++ &amp;quot;C++ function is called by another function?&amp;quot; on Sun, 30 Oct 2016 15:11:39 GMT]]></title><description><![CDATA[<p>&quot;In general, a C++ function is activated, or called, by another function, an the function header describes the interface between a function the that calls it.<br />
The part preceding the function name is called the function return type; it describes information flow from a function back to the function that calls it.&quot;</p>
<p>Könnte mir das jemand erklären?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513474</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513474</guid><dc:creator><![CDATA[Bladestorm]]></dc:creator><pubDate>Sun, 30 Oct 2016 15:11:39 GMT</pubDate></item><item><title><![CDATA[Reply to C++ &amp;quot;C++ function is called by another function?&amp;quot; on Sun, 30 Oct 2016 15:30:28 GMT]]></title><description><![CDATA[<p>Reicht dein Gedächtnis keine vier Tage zurück?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513477</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513477</guid><dc:creator><![CDATA[manni66]]></dc:creator><pubDate>Sun, 30 Oct 2016 15:30:28 GMT</pubDate></item><item><title><![CDATA[Reply to C++ &amp;quot;C++ function is called by another function?&amp;quot; on Sun, 30 Oct 2016 16:08:47 GMT]]></title><description><![CDATA[<p>ACH SO, JETZT ERINNERE ICH MICH WIEDER DARAN.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513481</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513481</guid><dc:creator><![CDATA[Bladestorm]]></dc:creator><pubDate>Sun, 30 Oct 2016 16:08:47 GMT</pubDate></item></channel></rss>