<?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[WAS wird zurück gegeben]]></title><description><![CDATA[<p>Ich habe eine frage :<br />
Was gibt diese funktion aus :<br />
class familie<br />
{<br />
public:<br />
familie vater(familie sohn)<br />
{<br />
.......<br />
}<br />
};<br />
Ich möchte wissen , was diese funktion ausgibt ??<br />
Alsoeine funktion in diesem design gobt ein int aus.<br />
class familie<br />
{<br />
public:<br />
int vater(int sohn)<br />
{<br />
...<br />
}<br />
};<br />
Ok was gibt die erste funktion aus ??<br />
THX</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/136028/was-wird-zurück-gegeben</link><generator>RSS for Node</generator><lastBuildDate>Sat, 29 Aug 2026 07:22:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/136028.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Feb 2006 19:12:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WAS wird zurück gegeben on Mon, 06 Feb 2006 19:12:23 GMT]]></title><description><![CDATA[<p>Ich habe eine frage :<br />
Was gibt diese funktion aus :<br />
class familie<br />
{<br />
public:<br />
familie vater(familie sohn)<br />
{<br />
.......<br />
}<br />
};<br />
Ich möchte wissen , was diese funktion ausgibt ??<br />
Alsoeine funktion in diesem design gobt ein int aus.<br />
class familie<br />
{<br />
public:<br />
int vater(int sohn)<br />
{<br />
...<br />
}<br />
};<br />
Ok was gibt die erste funktion aus ??<br />
THX</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987899</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987899</guid><dc:creator><![CDATA[RAZOR]]></dc:creator><pubDate>Mon, 06 Feb 2006 19:12:23 GMT</pubDate></item><item><title><![CDATA[Reply to WAS wird zurück gegeben on Mon, 06 Feb 2006 19:14:10 GMT]]></title><description><![CDATA[<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-p-is-987887.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-p-is-987887.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/987904</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987904</guid><dc:creator><![CDATA[meinung]]></dc:creator><pubDate>Mon, 06 Feb 2006 19:14:10 GMT</pubDate></item><item><title><![CDATA[Reply to WAS wird zurück gegeben on Mon, 06 Feb 2006 19:17:29 GMT]]></title><description><![CDATA[<p>Man sollte das forum auf:</p>
<p><strong>&quot;Wir loesen deine Aufgaben&quot;</strong><br />
unbennen!</p>
<p><strong>Was gibt sie zurueck?</strong><br />
diese frage kannst ja selbst beantworten!</p>
<pre><code class="language-cpp">int vater(int sohn)
</code></pre>
<p>Wenn die int ausgiebt, dann gibt</p>
<pre><code class="language-cpp">familie vater(familie sohn)
</code></pre>
<p>gibt die eine familie zurueck (eine klasse);</p>
<p>gg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987910</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987910</guid><dc:creator><![CDATA[xGhost]]></dc:creator><pubDate>Mon, 06 Feb 2006 19:17:29 GMT</pubDate></item><item><title><![CDATA[Reply to WAS wird zurück gegeben on Mon, 06 Feb 2006 19:26:15 GMT]]></title><description><![CDATA[<p>Ja es gibt eine klasse zurück , ich kapier dass aber nicht , denn eine funktion einer klasse gibt eine klasse zurück ??<br />
Was ist dass denn für eine klasse hat sie die gleichen methoden wie die alte klasse oder ist sie anders<br />
Und was muss ich in den funktions rumpf schreiben , um diese klasse heraus zu geben.<br />
Wenn dass alles klappt , wo ist dann die klasse wie kann ich sie ansprechen , also der speicher ort.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987928</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987928</guid><dc:creator><![CDATA[RAZOR]]></dc:creator><pubDate>Mon, 06 Feb 2006 19:26:15 GMT</pubDate></item><item><title><![CDATA[Reply to WAS wird zurück gegeben on Mon, 06 Feb 2006 19:33:10 GMT]]></title><description><![CDATA[<p>es gibt eine klasse zurueck.</p>
<p>warum nicht?<br />
vl. willst du ein abbild von etwas machen.<br />
oder eine copy...</p>
<pre><code class="language-cpp">myklasse &amp; myklasse::give_my(void){

  return *this;
}
// bin nicht ganz sicher, ob man das so schreibt
// oder
myklasse myklasse::give_bla(void){
  myklasse kopy;
  /* mach was...*/
  return kopy;
}
</code></pre>
<p>gibt noch viel zu lernen <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>gg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987946</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987946</guid><dc:creator><![CDATA[xGhost]]></dc:creator><pubDate>Mon, 06 Feb 2006 19:33:10 GMT</pubDate></item><item><title><![CDATA[Reply to WAS wird zurück gegeben on Mon, 06 Feb 2006 19:45:16 GMT]]></title><description><![CDATA[<p>Diese funktion die du geschriebe hast :</p>
<pre><code>myklasse myklasse::give_bla(void){ 
  myklasse kopy; 
  /* mach was...*/ 
  return kopy; 
}
</code></pre>
<p>Sie gibt doch ein objekt der klasse myklasse zurück .<br />
Warum sollte man das so machen wenn man schon , in der main funktion , einfach<br />
myklasse objekt;<br />
schreiben könnte , warum macht man es in dieser funktion .<br />
THX</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987972</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987972</guid><dc:creator><![CDATA[RAZOR]]></dc:creator><pubDate>Mon, 06 Feb 2006 19:45:16 GMT</pubDate></item><item><title><![CDATA[Reply to WAS wird zurück gegeben on Mon, 06 Feb 2006 20:07:07 GMT]]></title><description><![CDATA[<p>weil es auch templates gibt...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/988031</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/988031</guid><dc:creator><![CDATA[xGhost]]></dc:creator><pubDate>Mon, 06 Feb 2006 20:07:07 GMT</pubDate></item><item><title><![CDATA[Reply to WAS wird zurück gegeben on Mon, 06 Feb 2006 20:10:17 GMT]]></title><description><![CDATA[<p>kann mir den jemand antworten</p>
]]></description><link>https://www.c-plusplus.net/forum/post/988035</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/988035</guid><dc:creator><![CDATA[yxy]]></dc:creator><pubDate>Mon, 06 Feb 2006 20:10:17 GMT</pubDate></item><item><title><![CDATA[Reply to WAS wird zurück gegeben on Mon, 06 Feb 2006 20:11:18 GMT]]></title><description><![CDATA[<p>yxy schrieb:</p>
<blockquote>
<p>kann mir den jemand antworten</p>
</blockquote>
<p>Okay!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/988036</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/988036</guid><dc:creator><![CDATA[Klausi]]></dc:creator><pubDate>Mon, 06 Feb 2006 20:11:18 GMT</pubDate></item><item><title><![CDATA[Reply to WAS wird zurück gegeben on Mon, 06 Feb 2006 20:14:09 GMT]]></title><description><![CDATA[<p>Was machen den Templates , und bitte ein beispiel :</p>
]]></description><link>https://www.c-plusplus.net/forum/post/988043</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/988043</guid><dc:creator><![CDATA[Lightning*]]></dc:creator><pubDate>Mon, 06 Feb 2006 20:14:09 GMT</pubDate></item><item><title><![CDATA[Reply to WAS wird zurück gegeben on Mon, 06 Feb 2006 21:14:19 GMT]]></title><description><![CDATA[<p>Beachte bitte den Link im Post von &quot;meinung&quot;.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/988104</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/988104</guid><dc:creator><![CDATA[michba]]></dc:creator><pubDate>Mon, 06 Feb 2006 21:14:19 GMT</pubDate></item></channel></rss>