<?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[verschachtelte strukturen]]></title><description><![CDATA[<p>hallo, moechte strukturen in strukturen einbinden, bekomme aber immer fehler, in C scheint es zu funktionieren aber nicht in c++ hat mir jemand nen tipp?</p>
<pre><code>struct INITSTRUCT
{
 double wert1;
 double wert2;
 struct STRUCT1 struct1;
 struct STRUCT2 struct2;
};

struct STRUCT1
{
 double x;
 double y;
};

struct STRUCT1
{
 double a;
 double b;
};
</code></pre>
<p>gruss baeman</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/184954/verschachtelte-strukturen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 24 Sep 2026 00:37:27 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/184954.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 Jun 2007 15:16:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to verschachtelte strukturen on Wed, 20 Jun 2007 15:16:55 GMT]]></title><description><![CDATA[<p>hallo, moechte strukturen in strukturen einbinden, bekomme aber immer fehler, in C scheint es zu funktionieren aber nicht in c++ hat mir jemand nen tipp?</p>
<pre><code>struct INITSTRUCT
{
 double wert1;
 double wert2;
 struct STRUCT1 struct1;
 struct STRUCT2 struct2;
};

struct STRUCT1
{
 double x;
 double y;
};

struct STRUCT1
{
 double a;
 double b;
};
</code></pre>
<p>gruss baeman</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1310014</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1310014</guid><dc:creator><![CDATA[baeman]]></dc:creator><pubDate>Wed, 20 Jun 2007 15:16:55 GMT</pubDate></item><item><title><![CDATA[Reply to verschachtelte strukturen on Wed, 20 Jun 2007 15:22:55 GMT]]></title><description><![CDATA[<p>da musst du glaube ich in deiner hauptstruct... das struct Struct1... weglassen und nur ein objekt</p>
<pre><code class="language-cpp">struct INITSTRUCT
{
 double wert1;
 double wert2;
 STRUCT1 struct1;
 STRUCT2 struct2;
};

struct STRUCT1
{
 double x;
 double y;
};

struct STRUCT1
{
 double a;
 double b;
};
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1310016</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1310016</guid><dc:creator><![CDATA[Firefighter]]></dc:creator><pubDate>Wed, 20 Jun 2007 15:22:55 GMT</pubDate></item><item><title><![CDATA[Reply to verschachtelte strukturen on Wed, 20 Jun 2007 15:52:56 GMT]]></title><description><![CDATA[<p>Vertausch mal die Reihenfolge der Deklarationen. INITSTRUCT sollte STRUCT1 und STRUCT2 schon kennen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1310044</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1310044</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Wed, 20 Jun 2007 15:52:56 GMT</pubDate></item><item><title><![CDATA[Reply to verschachtelte strukturen on Wed, 20 Jun 2007 20:46:23 GMT]]></title><description><![CDATA[<p>besten dank, nach dem tauschen klappt alles bestens...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1310241</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1310241</guid><dc:creator><![CDATA[baeman]]></dc:creator><pubDate>Wed, 20 Jun 2007 20:46:23 GMT</pubDate></item><item><title><![CDATA[Reply to verschachtelte strukturen on Thu, 21 Jun 2007 02:04:54 GMT]]></title><description><![CDATA[<p>oder einfach so</p>
<pre><code class="language-cpp">struct INITSTRUCT
{
 double wert1;
 double wert2;
 struct{
  double x;
  double y;
 } struct1;
 struct{
  double a;
  double b;
 } struct2;
}:
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1310311</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1310311</guid><dc:creator><![CDATA[morgen]]></dc:creator><pubDate>Thu, 21 Jun 2007 02:04:54 GMT</pubDate></item></channel></rss>