<?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[Assoziationen mit Pfeil]]></title><description><![CDATA[<p>Bild:</p>
<pre><code>|------|            |-------|
|      |*     0...1 |       |
|  A   |-----------&gt;|  B    |
|------|            |-------|
</code></pre>
<p>Erklärung:</p>
<pre><code>1. A hat ein einwertiges Attribute vom Typ B welches
  leer sein kann.
2. B hat kein Attribut vom Typ A.
3. Instanzen von B können von beliebig vielen 
Instanzen von A referenziert werden.
</code></pre>
<p>der 3.Point bedeutet B ist ein Static Variable von A?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/148008/assoziationen-mit-pfeil</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Sep 2026 11:23:18 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/148008.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 May 2006 14:29:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Assoziationen mit Pfeil on Mon, 22 May 2006 14:29:30 GMT]]></title><description><![CDATA[<p>Bild:</p>
<pre><code>|------|            |-------|
|      |*     0...1 |       |
|  A   |-----------&gt;|  B    |
|------|            |-------|
</code></pre>
<p>Erklärung:</p>
<pre><code>1. A hat ein einwertiges Attribute vom Typ B welches
  leer sein kann.
2. B hat kein Attribut vom Typ A.
3. Instanzen von B können von beliebig vielen 
Instanzen von A referenziert werden.
</code></pre>
<p>der 3.Point bedeutet B ist ein Static Variable von A?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1062852</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1062852</guid><dc:creator><![CDATA[netrobot]]></dc:creator><pubDate>Mon, 22 May 2006 14:29:30 GMT</pubDate></item><item><title><![CDATA[Reply to Assoziationen mit Pfeil on Mon, 22 May 2006 15:10:26 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>nein 3. bedeutet das mehrere A auf ein und dasselbe B referenzieren können. Mit static hat das nichst zu tun, das müßte es heißen : Alle A referenzieren auf ein und dasselbe B.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1062879</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1062879</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 22 May 2006 15:10:26 GMT</pubDate></item><item><title><![CDATA[Reply to Assoziationen mit Pfeil on Mon, 22 May 2006 20:45:06 GMT]]></title><description><![CDATA[<p>kannst du ein Beispiel nenen? besser mit code</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1063116</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1063116</guid><dc:creator><![CDATA[netrobot]]></dc:creator><pubDate>Mon, 22 May 2006 20:45:06 GMT</pubDate></item><item><title><![CDATA[Reply to Assoziationen mit Pfeil on Mon, 22 May 2006 20:50:17 GMT]]></title><description><![CDATA[<p>Hallo</p>
<pre><code class="language-cpp">class B
{
...
};

class A
{
  ...
  B* myB;
};
</code></pre>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1063120</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1063120</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 22 May 2006 20:50:17 GMT</pubDate></item><item><title><![CDATA[Reply to Assoziationen mit Pfeil on Mon, 22 May 2006 20:56:56 GMT]]></title><description><![CDATA[<p>etwa so?</p>
<pre><code>B b;
A&amp; rb1 = b;
A&amp; rb2 = b;
A&amp; rb3 = b;
</code></pre>
<p>dann b ist von 3 objekten von A referenziert. Ist es was besonderes?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1063124</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1063124</guid><dc:creator><![CDATA[netrobot]]></dc:creator><pubDate>Mon, 22 May 2006 20:56:56 GMT</pubDate></item><item><title><![CDATA[Reply to Assoziationen mit Pfeil on Mon, 22 May 2006 21:04:16 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>dein Code sieht falsch aus.</p>
<p>aufBasis von meinemCode müße die Anwednung davon dan nso aussehen</p>
<pre><code class="language-cpp">B b;

A a1, a2;

a1.myB = &amp;b;
a2.myB = &amp;b;
</code></pre>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1063127</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1063127</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 22 May 2006 21:04:16 GMT</pubDate></item></channel></rss>