<?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[Kurze Frage zu Arrays mit VC++ 2013]]></title><description><![CDATA[<p>Hallo ich habe ein Problem.</p>
<p>Ich habe ein Programm geschrieben was mir ein Würfel anzeigen soll alles funktioniert auch nur die Array Definition wo ich festlege wie der Würfel aussieht will nicht unter Visual Studio 2013. Unter Codeblocks funktioniert das ganze aber ohne Probleme.</p>
<pre><code>int Verbindungen[] =	{   0, 1, 1, 2, 2, 3, 1, 3,
		         	4, 5, 5, 6, 4, 7, 6, 7,
		                3, 7, 2, 6, 1, 5, 0, 4  };
</code></pre>
<p>Das ganze Funktioniert wie gesagt nicht unter VC auch mein Versuch</p>
<pre><code>int Verbindungen[24] =	{   0, 1, 1, 2, 2, 3, 1, 3,
		       	4, 5, 5, 6, 4, 7, 6, 7,
		      3, 7, 2, 6, 1, 5, 0, 4  };
</code></pre>
<p>funktioniert nicht.</p>
<p>Die Fehlermeldung sagt mir : Klasse Wuerfel enthält ein Array mit der unzulässigen Größe 0, was mich stutzig macht ist, das es unter Codeblocks ganz normal funktioniert.</p>
<p>Kann mir einer helfen?</p>
<p>Mit freundlichen Grüßen</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/339795/kurze-frage-zu-arrays-mit-vc-2013</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 21:24:30 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/339795.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Sep 2016 17:32:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Kurze Frage zu Arrays mit VC++ 2013 on Wed, 28 Sep 2016 17:32:35 GMT]]></title><description><![CDATA[<p>Hallo ich habe ein Problem.</p>
<p>Ich habe ein Programm geschrieben was mir ein Würfel anzeigen soll alles funktioniert auch nur die Array Definition wo ich festlege wie der Würfel aussieht will nicht unter Visual Studio 2013. Unter Codeblocks funktioniert das ganze aber ohne Probleme.</p>
<pre><code>int Verbindungen[] =	{   0, 1, 1, 2, 2, 3, 1, 3,
		         	4, 5, 5, 6, 4, 7, 6, 7,
		                3, 7, 2, 6, 1, 5, 0, 4  };
</code></pre>
<p>Das ganze Funktioniert wie gesagt nicht unter VC auch mein Versuch</p>
<pre><code>int Verbindungen[24] =	{   0, 1, 1, 2, 2, 3, 1, 3,
		       	4, 5, 5, 6, 4, 7, 6, 7,
		      3, 7, 2, 6, 1, 5, 0, 4  };
</code></pre>
<p>funktioniert nicht.</p>
<p>Die Fehlermeldung sagt mir : Klasse Wuerfel enthält ein Array mit der unzulässigen Größe 0, was mich stutzig macht ist, das es unter Codeblocks ganz normal funktioniert.</p>
<p>Kann mir einer helfen?</p>
<p>Mit freundlichen Grüßen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2510045</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2510045</guid><dc:creator><![CDATA[Theroth]]></dc:creator><pubDate>Wed, 28 Sep 2016 17:32:35 GMT</pubDate></item><item><title><![CDATA[Reply to Kurze Frage zu Arrays mit VC++ 2013 on Wed, 28 Sep 2016 17:40:50 GMT]]></title><description><![CDATA[<p>Ich sehe keine Klasse Würfel.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2510047</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2510047</guid><dc:creator><![CDATA[manni66]]></dc:creator><pubDate>Wed, 28 Sep 2016 17:40:50 GMT</pubDate></item><item><title><![CDATA[Reply to Kurze Frage zu Arrays mit VC++ 2013 on Wed, 28 Sep 2016 18:28:48 GMT]]></title><description><![CDATA[<pre><code>#ifndef WUERFEL_HPP
#define WUERFEL_HPP

#include &quot;Vektor3D.h&quot;

class Wuerfel
{
	private:

		int Verbindungen[] =	{   0, 1, 1, 2, 2, 3, 1, 3,
									4, 5, 5, 6, 4, 7, 6, 7,
									3, 7, 2, 6, 1, 5, 0, 4  };

		Vektor3D kanten[12];
		Vektor3D vektoren[8];
		void berechneKanten();

	public:
		Wuerfel(Vektor3D vektoren[8]);

};

#endif // WUERFEL_HPP

/*
Vektor übergabe Beachten
A = 0
B = 1
C = 2
D = 3
E = 4
F = 5
G = 6
H = 7
*/
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2510053</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2510053</guid><dc:creator><![CDATA[Theroth]]></dc:creator><pubDate>Wed, 28 Sep 2016 18:28:48 GMT</pubDate></item><item><title><![CDATA[Reply to Kurze Frage zu Arrays mit VC++ 2013 on Wed, 28 Sep 2016 18:32:30 GMT]]></title><description><![CDATA[<p>Das ist in VS 2013 noch nicht implementiert. Benutze VS 2015!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2510055</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2510055</guid><dc:creator><![CDATA[manni66]]></dc:creator><pubDate>Wed, 28 Sep 2016 18:32:30 GMT</pubDate></item><item><title><![CDATA[Reply to Kurze Frage zu Arrays mit VC++ 2013 on Wed, 28 Sep 2016 19:24:35 GMT]]></title><description><![CDATA[<p>Okay das wusste ich nicht. Vielen dank da hätte ich ja noch lange suchen können <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2510060</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2510060</guid><dc:creator><![CDATA[Theroth]]></dc:creator><pubDate>Wed, 28 Sep 2016 19:24:35 GMT</pubDate></item><item><title><![CDATA[Reply to Kurze Frage zu Arrays mit VC++ 2013 on Wed, 28 Sep 2016 19:45:35 GMT]]></title><description><![CDATA[<pre><code>Wuerfel(Vektor3D vektoren[8]);
</code></pre>
<p>Die 8 sieht hier übrigens gut aus, verhindert aber nicht, dass Arrays mit anderen Größen übergeben werden können. Schau dir mal std::array an.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2510061</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2510061</guid><dc:creator><![CDATA[manni66]]></dc:creator><pubDate>Wed, 28 Sep 2016 19:45:35 GMT</pubDate></item></channel></rss>