<?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[this-&amp;gt;a == a]]></title><description><![CDATA[<p>Salü,</p>
<p>Ich habe eine ganz kurze Frage.</p>
<p>Folgende Situation.</p>
<pre><code class="language-cpp">class foo {
    int a;
    void func(int a);
}

void Foo::func(int a)
{
    a=a; // welches a wird jetzt aufgerufen??
         //Ich will, dass this-&gt;a = a ist

}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/159183/this-gt-a-a</link><generator>RSS for Node</generator><lastBuildDate>Thu, 10 Sep 2026 08:08:37 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/159183.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Sep 2006 18:16:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to this-&amp;gt;a == a on Tue, 12 Sep 2006 18:16:28 GMT]]></title><description><![CDATA[<p>Salü,</p>
<p>Ich habe eine ganz kurze Frage.</p>
<p>Folgende Situation.</p>
<pre><code class="language-cpp">class foo {
    int a;
    void func(int a);
}

void Foo::func(int a)
{
    a=a; // welches a wird jetzt aufgerufen??
         //Ich will, dass this-&gt;a = a ist

}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1136084</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136084</guid><dc:creator><![CDATA[asdfg345]]></dc:creator><pubDate>Tue, 12 Sep 2006 18:16:28 GMT</pubDate></item><item><title><![CDATA[Reply to this-&amp;gt;a == a on Tue, 12 Sep 2006 18:25:03 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>sowie es da steht wird nur der Parameter a verwendet, nicht aber der Member der Klasse. Deshalb kannst du auch gleich deine Anmerkung ausschreiben</p>
<pre><code class="language-cpp">void Foo::func(int a)
{
   this-&gt;a=a; // jetzt ist this-&gt;a = a
}
</code></pre>
<p>bis b ald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136087</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136087</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Tue, 12 Sep 2006 18:25:03 GMT</pubDate></item></channel></rss>