<?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[struct in Array?]]></title><description><![CDATA[<p>Hallo ich habe ein Struct:</p>
<pre><code class="language-cpp">struct artikel{
	int Nr;
	double preis;
	string bezeichnung;
}
</code></pre>
<p>und das möchte ich in einem Array ablegen:</p>
<pre><code class="language-cpp">{type ka?} artikelArray[30];
</code></pre>
<p>Wie mache ich das? und welchen typ braucht der Array?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/190850/struct-in-array</link><generator>RSS for Node</generator><lastBuildDate>Fri, 25 Sep 2026 19:04:27 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/190850.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Aug 2007 16:50:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to struct in Array? on Mon, 27 Aug 2007 16:50:42 GMT]]></title><description><![CDATA[<p>Hallo ich habe ein Struct:</p>
<pre><code class="language-cpp">struct artikel{
	int Nr;
	double preis;
	string bezeichnung;
}
</code></pre>
<p>und das möchte ich in einem Array ablegen:</p>
<pre><code class="language-cpp">{type ka?} artikelArray[30];
</code></pre>
<p>Wie mache ich das? und welchen typ braucht der Array?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1353176</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1353176</guid><dc:creator><![CDATA[lord_fritte]]></dc:creator><pubDate>Mon, 27 Aug 2007 16:50:42 GMT</pubDate></item><item><title><![CDATA[Reply to struct in Array? on Mon, 27 Aug 2007 16:53:01 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">artikel artikelArray[30];
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1353178</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1353178</guid><dc:creator><![CDATA[Bashar]]></dc:creator><pubDate>Mon, 27 Aug 2007 16:53:01 GMT</pubDate></item><item><title><![CDATA[Reply to struct in Array? on Mon, 27 Aug 2007 17:17:06 GMT]]></title><description><![CDATA[<p>oder noch besser:</p>
<pre><code class="language-cpp">vector&lt;artikel&gt; artikelArray; // dynamisches Array, sehr bequem und sicher
                              // http://www.cppreference.com/cppvector/index.html
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1353199</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1353199</guid><dc:creator><![CDATA[Chris++ 0]]></dc:creator><pubDate>Mon, 27 Aug 2007 17:17:06 GMT</pubDate></item><item><title><![CDATA[Reply to struct in Array? on Mon, 27 Aug 2007 17:17:43 GMT]]></title><description><![CDATA[<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1353201</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1353201</guid><dc:creator><![CDATA[lord_fritte]]></dc:creator><pubDate>Mon, 27 Aug 2007 17:17:43 GMT</pubDate></item></channel></rss>