<?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[Was ist Falsch warum geht es nicht]]></title><description><![CDATA[<p>Hallo Leute ich versuche gerade ein programm zu erstellen allerdings gibt es mir immer nur Fehler zurück..</p>
<p>Hoffe ihr könnt mir helfen hier mal der Source Code:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;windows.h&gt;
#include &lt;ostream&gt;
#include &lt;sstream&gt;
using namespace std;

void loading()
{
	unsigned sleep_time = 500;
	cout &lt;&lt; &quot;Loading [..........]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [*.........]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [**........]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [***.......]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);	
	cout &lt;&lt; &quot;Loading [****......]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [*****.....]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [******....]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [*******...]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [********..]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [*********.]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [**********]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
}
void end()
{
	unsigned sleep_time = 500;
	cout &lt;&lt; &quot;Ending [..........]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [.........*]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [........**]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [.......***]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);	
	cout &lt;&lt; &quot;Ending [......****]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [.....*****]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [....******]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [...*******]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [..********]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [.*********]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [**********]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
}
void edition()
{
	cout &lt;&lt; &quot;Geben Sie das Editionskuerzel ein:&quot;;
	stringstream e;
	string edi;
	cin &gt;&gt; edi;
	e &lt;&lt; &quot;http://etcg.de/yugioh/karten-suchmaschine/yugioh_set-details.php?set=&quot; &lt;&lt; edi &lt;&lt; &quot;&amp;la=de&quot;;
	if (edi == &quot;h&quot;)
	{
		system (&quot;notepad help.txt&quot;);
	}
	else
	{
		ShellExecute (NULL,&quot;open&quot;,&quot;firefox&quot;,e.str().c_str(),NULL,SW_SHOWNORMAL);
	}
}
void karte()
{
	cout &lt;&lt; &quot;Geben Sie das Editionskuerzel ein:&quot;;
	stringstream k;
	string edi;
	cin &gt;&gt; edi;
	cout &lt;&lt; &quot;Geben Sie die Kartennummer ein:&quot;;
	string num;
	cin &gt;&gt; num;
	k &lt;&lt; &quot;http://etcg.de/yugioh/karten-suchmaschine/yugioh_card-details.php?set=&quot; &lt;&lt; edi &lt;&lt; &quot;&amp;no=&quot; &lt;&lt; num &lt;&lt;&quot;&amp;la=de&quot;;
	ShellExecute (NULL,&quot;open&quot;,&quot;firefox&quot;,k.str().c_str(),NULL,SW_SHOWNORMAL);
}
void deck()
{
	void deckname()
{
	cout &lt;&lt; &quot;Geben Sie den Decknamen ein:&quot;;
	stringstream d;
	string deck;
	cin &gt;&gt; deck;
	d &lt;&lt; &quot;http://etcg.de/yugioh/deck-suchmaschine/yugioh_deck-search.php?deckname=&quot; &lt;&lt; deck &lt;&lt; &quot;&amp;besitzer=&amp;format=&amp;deckart=&quot;;
	ShellExecute (NULL,&quot;open&quot;,&quot;firefox&quot;,d.str().c_str(),NULL,SW_SHOWNORMAL);
}
}

void besitzer()
{
	cout &lt;&lt; &quot;Geben Sie den Besitzer ein:&quot;;
	stringstream b;
	string besitzer;
	cin &gt;&gt; besitzer;
	b &lt;&lt; &quot;http://etcg.de/yugioh/deck-suchmaschine/yugioh_deck-search.php?deckname=&amp;besitzer=&quot; &lt;&lt; besitzer &lt;&lt; &quot;&amp;format=&amp;deckart=&quot;;
	ShellExecute (NULL,&quot;open&quot;,&quot;firefox&quot;,b.str().c_str(),NULL,SW_SHOWNORMAL);
}

void format()
{
	cout &lt;&lt; &quot;Geben Sie das Format ein:&quot;;
	stringstream f;
	string format;
	cin &gt;&gt; format;
	f &lt;&lt; &quot;http://etcg.de/yugioh/deck-suchmaschine/yugioh_deck-search.php?deckname=&amp;besitzer=&amp;format=&quot; &lt;&lt; format &lt;&lt; &quot;&amp;deckart=&quot;;
	ShellExecute (NULL,&quot;open&quot;,&quot;firefox&quot;,f.str().c_str(),NULL,SW_SHOWNORMAL);
}

int main()
{
	cout &lt;&lt; &quot;[1] Deckname eingeben&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;[2] Besitzer eigeben&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;[3] Format eingeben&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;Was moecheten Sie tun?:&quot;;
	stringstream t;
	string was;
	cin &gt;&gt; was;
	if (was == &quot;1&quot;)
	{
		deckname();
	}
	if (was == &quot;2&quot;)
	{
		besitzer();
	}
	if (was == &quot;3&quot;)
	{
		format();
	}
}
void menu()
{
	cout &lt;&lt; &quot;[1]Edition aufrufen&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;[2]Karte aufrufen&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;[3]Deck suchen&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;[4]eTCG aufrufen&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;[5]eTCG - Messageboard aufrufen&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;[6]Programm beenden&quot; &lt;&lt; endl;
}

int main()
{
	loading();
	menu();
	cout &lt;&lt; &quot;Was moechten Sie tun?:&quot;;
	stringstream a;
	string aktion;
	cin &gt;&gt; aktion;
	if (aktion == &quot;1&quot;)
	{
		edition();
	}
	if (aktion == &quot;2&quot;)
	{
		karte();
	}
	if (aktion == &quot;3&quot;)
	{
		deck();
	}
	if (aktion == &quot;4&quot;)
	{
		url &lt;&lt; &quot;http://etcg.de/&quot;;
		ShellExecute (NULL,&quot;open&quot;,&quot;firefox&quot;,url.str().c_str,NULL,SW_SHOWNORMAL);
	}
	if (aktion == &quot;5&quot;)
	{
		url &lt;&lt; &quot;http://etcg.de/forum&quot;;
		ShellExecute (NULL,&quot;open&quot;,&quot;firefox&quot;,url.str().c_str,NULL,SW_SHOWNORMAL);
	}
	if (aktion == &quot;6&quot;}
	{
		end();
	}
}
</code></pre>
<pre><code>1&gt;------ Neues Erstellen gestartet: Projekt: ETCG, Konfiguration: Release Win32 ------
1&gt;Die Zwischen- und Ausgabedateien für das Projekt &quot;ETCG&quot; mit der Konfiguration &quot;Release|Win32&quot; werden gelöscht.
1&gt;Kompilieren...
1&gt;main.cpp
1&gt;.\main.cpp(112) : error C2601: 'deckname': Lokale Funktionsdefinitionen sind unzulässig
1&gt;        .\main.cpp(110): Diese Zeile enthält eine '{', die keine Entsprechung hat
1&gt;.\main.cpp(153) : error C3861: &quot;deckname&quot;: Bezeichner wurde nicht gefunden.
1&gt;.\main.cpp(175) : error C2084: Funktion 'int main(void)' hat bereits einen Funktionsrumpf
1&gt;        .\main.cpp(142): Siehe vorherige Definition von 'main'
1&gt;.\main.cpp(196) : error C2065: 'url': nichtdeklarierter Bezeichner
1&gt;.\main.cpp(197) : error C2065: 'url': nichtdeklarierter Bezeichner
1&gt;.\main.cpp(197) : error C2228: Links von &quot;.str&quot; muss sich eine Klasse/Struktur/Union befinden.
1&gt;        Typ ist ''unknown-type''
1&gt;.\main.cpp(197) : error C2228: Links von &quot;.c_str&quot; muss sich eine Klasse/Struktur/Union befinden.
1&gt;.\main.cpp(201) : error C2065: 'url': nichtdeklarierter Bezeichner
1&gt;.\main.cpp(202) : error C2065: 'url': nichtdeklarierter Bezeichner
1&gt;.\main.cpp(202) : error C2228: Links von &quot;.str&quot; muss sich eine Klasse/Struktur/Union befinden.
1&gt;        Typ ist ''unknown-type''
1&gt;.\main.cpp(202) : error C2228: Links von &quot;.c_str&quot; muss sich eine Klasse/Struktur/Union befinden.
1&gt;.\main.cpp(204) : error C2143: Syntaxfehler: Es fehlt ')' vor '}'
1&gt;.\main.cpp(204) : error C2143: Syntaxfehler: Es fehlt ';' vor '}'
1&gt;.\main.cpp(204) : warning C4390: ';': Leere kontrollierte Anweisung aufgetreten; ist dies beabsichtigt?
1&gt;.\main.cpp(205) : error C2447: '{': Funktionsheader fehlt - Parameterliste im alten Stil?
1&gt;.\main.cpp(208) : error C2059: Syntaxfehler: '}'
1&gt;.\main.cpp(208) : error C2143: Syntaxfehler: Es fehlt ';' vor '}'
1&gt;.\main.cpp(208) : error C2059: Syntaxfehler: '}'
1&gt;Das Buildprotokoll wurde unter &quot;file://c:\Dokumente und Einstellungen\´?\Eigene Dateien\Visual Studio 2008\Projects\ETCG\ETCG\Release\BuildLog.htm&quot; gespeichert.
1&gt;ETCG - 17 Fehler, 1 Warnung(en)
========== Alles neu erstellen: 0 erfolgreich, Fehler bei 1, 0 übersprungen ==========
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/260437/was-ist-falsch-warum-geht-es-nicht</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 01:32:37 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/260437.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Feb 2010 08:23:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Was ist Falsch warum geht es nicht on Fri, 05 Feb 2010 08:51:58 GMT]]></title><description><![CDATA[<p>Hallo Leute ich versuche gerade ein programm zu erstellen allerdings gibt es mir immer nur Fehler zurück..</p>
<p>Hoffe ihr könnt mir helfen hier mal der Source Code:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;windows.h&gt;
#include &lt;ostream&gt;
#include &lt;sstream&gt;
using namespace std;

void loading()
{
	unsigned sleep_time = 500;
	cout &lt;&lt; &quot;Loading [..........]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [*.........]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [**........]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [***.......]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);	
	cout &lt;&lt; &quot;Loading [****......]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [*****.....]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [******....]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [*******...]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [********..]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [*********.]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Loading [**********]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
}
void end()
{
	unsigned sleep_time = 500;
	cout &lt;&lt; &quot;Ending [..........]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [.........*]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [........**]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [.......***]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);	
	cout &lt;&lt; &quot;Ending [......****]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [.....*****]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [....******]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [...*******]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [..********]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [.*********]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
	cout &lt;&lt; &quot;Ending [**********]&quot;;
	Sleep (sleep_time);
	system(&quot;cls&quot;);
}
void edition()
{
	cout &lt;&lt; &quot;Geben Sie das Editionskuerzel ein:&quot;;
	stringstream e;
	string edi;
	cin &gt;&gt; edi;
	e &lt;&lt; &quot;http://etcg.de/yugioh/karten-suchmaschine/yugioh_set-details.php?set=&quot; &lt;&lt; edi &lt;&lt; &quot;&amp;la=de&quot;;
	if (edi == &quot;h&quot;)
	{
		system (&quot;notepad help.txt&quot;);
	}
	else
	{
		ShellExecute (NULL,&quot;open&quot;,&quot;firefox&quot;,e.str().c_str(),NULL,SW_SHOWNORMAL);
	}
}
void karte()
{
	cout &lt;&lt; &quot;Geben Sie das Editionskuerzel ein:&quot;;
	stringstream k;
	string edi;
	cin &gt;&gt; edi;
	cout &lt;&lt; &quot;Geben Sie die Kartennummer ein:&quot;;
	string num;
	cin &gt;&gt; num;
	k &lt;&lt; &quot;http://etcg.de/yugioh/karten-suchmaschine/yugioh_card-details.php?set=&quot; &lt;&lt; edi &lt;&lt; &quot;&amp;no=&quot; &lt;&lt; num &lt;&lt;&quot;&amp;la=de&quot;;
	ShellExecute (NULL,&quot;open&quot;,&quot;firefox&quot;,k.str().c_str(),NULL,SW_SHOWNORMAL);
}
void deck()
{
	void deckname()
{
	cout &lt;&lt; &quot;Geben Sie den Decknamen ein:&quot;;
	stringstream d;
	string deck;
	cin &gt;&gt; deck;
	d &lt;&lt; &quot;http://etcg.de/yugioh/deck-suchmaschine/yugioh_deck-search.php?deckname=&quot; &lt;&lt; deck &lt;&lt; &quot;&amp;besitzer=&amp;format=&amp;deckart=&quot;;
	ShellExecute (NULL,&quot;open&quot;,&quot;firefox&quot;,d.str().c_str(),NULL,SW_SHOWNORMAL);
}
}

void besitzer()
{
	cout &lt;&lt; &quot;Geben Sie den Besitzer ein:&quot;;
	stringstream b;
	string besitzer;
	cin &gt;&gt; besitzer;
	b &lt;&lt; &quot;http://etcg.de/yugioh/deck-suchmaschine/yugioh_deck-search.php?deckname=&amp;besitzer=&quot; &lt;&lt; besitzer &lt;&lt; &quot;&amp;format=&amp;deckart=&quot;;
	ShellExecute (NULL,&quot;open&quot;,&quot;firefox&quot;,b.str().c_str(),NULL,SW_SHOWNORMAL);
}

void format()
{
	cout &lt;&lt; &quot;Geben Sie das Format ein:&quot;;
	stringstream f;
	string format;
	cin &gt;&gt; format;
	f &lt;&lt; &quot;http://etcg.de/yugioh/deck-suchmaschine/yugioh_deck-search.php?deckname=&amp;besitzer=&amp;format=&quot; &lt;&lt; format &lt;&lt; &quot;&amp;deckart=&quot;;
	ShellExecute (NULL,&quot;open&quot;,&quot;firefox&quot;,f.str().c_str(),NULL,SW_SHOWNORMAL);
}

int main()
{
	cout &lt;&lt; &quot;[1] Deckname eingeben&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;[2] Besitzer eigeben&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;[3] Format eingeben&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;Was moecheten Sie tun?:&quot;;
	stringstream t;
	string was;
	cin &gt;&gt; was;
	if (was == &quot;1&quot;)
	{
		deckname();
	}
	if (was == &quot;2&quot;)
	{
		besitzer();
	}
	if (was == &quot;3&quot;)
	{
		format();
	}
}
void menu()
{
	cout &lt;&lt; &quot;[1]Edition aufrufen&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;[2]Karte aufrufen&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;[3]Deck suchen&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;[4]eTCG aufrufen&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;[5]eTCG - Messageboard aufrufen&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;[6]Programm beenden&quot; &lt;&lt; endl;
}

int main()
{
	loading();
	menu();
	cout &lt;&lt; &quot;Was moechten Sie tun?:&quot;;
	stringstream a;
	string aktion;
	cin &gt;&gt; aktion;
	if (aktion == &quot;1&quot;)
	{
		edition();
	}
	if (aktion == &quot;2&quot;)
	{
		karte();
	}
	if (aktion == &quot;3&quot;)
	{
		deck();
	}
	if (aktion == &quot;4&quot;)
	{
		url &lt;&lt; &quot;http://etcg.de/&quot;;
		ShellExecute (NULL,&quot;open&quot;,&quot;firefox&quot;,url.str().c_str,NULL,SW_SHOWNORMAL);
	}
	if (aktion == &quot;5&quot;)
	{
		url &lt;&lt; &quot;http://etcg.de/forum&quot;;
		ShellExecute (NULL,&quot;open&quot;,&quot;firefox&quot;,url.str().c_str,NULL,SW_SHOWNORMAL);
	}
	if (aktion == &quot;6&quot;}
	{
		end();
	}
}
</code></pre>
<pre><code>1&gt;------ Neues Erstellen gestartet: Projekt: ETCG, Konfiguration: Release Win32 ------
1&gt;Die Zwischen- und Ausgabedateien für das Projekt &quot;ETCG&quot; mit der Konfiguration &quot;Release|Win32&quot; werden gelöscht.
1&gt;Kompilieren...
1&gt;main.cpp
1&gt;.\main.cpp(112) : error C2601: 'deckname': Lokale Funktionsdefinitionen sind unzulässig
1&gt;        .\main.cpp(110): Diese Zeile enthält eine '{', die keine Entsprechung hat
1&gt;.\main.cpp(153) : error C3861: &quot;deckname&quot;: Bezeichner wurde nicht gefunden.
1&gt;.\main.cpp(175) : error C2084: Funktion 'int main(void)' hat bereits einen Funktionsrumpf
1&gt;        .\main.cpp(142): Siehe vorherige Definition von 'main'
1&gt;.\main.cpp(196) : error C2065: 'url': nichtdeklarierter Bezeichner
1&gt;.\main.cpp(197) : error C2065: 'url': nichtdeklarierter Bezeichner
1&gt;.\main.cpp(197) : error C2228: Links von &quot;.str&quot; muss sich eine Klasse/Struktur/Union befinden.
1&gt;        Typ ist ''unknown-type''
1&gt;.\main.cpp(197) : error C2228: Links von &quot;.c_str&quot; muss sich eine Klasse/Struktur/Union befinden.
1&gt;.\main.cpp(201) : error C2065: 'url': nichtdeklarierter Bezeichner
1&gt;.\main.cpp(202) : error C2065: 'url': nichtdeklarierter Bezeichner
1&gt;.\main.cpp(202) : error C2228: Links von &quot;.str&quot; muss sich eine Klasse/Struktur/Union befinden.
1&gt;        Typ ist ''unknown-type''
1&gt;.\main.cpp(202) : error C2228: Links von &quot;.c_str&quot; muss sich eine Klasse/Struktur/Union befinden.
1&gt;.\main.cpp(204) : error C2143: Syntaxfehler: Es fehlt ')' vor '}'
1&gt;.\main.cpp(204) : error C2143: Syntaxfehler: Es fehlt ';' vor '}'
1&gt;.\main.cpp(204) : warning C4390: ';': Leere kontrollierte Anweisung aufgetreten; ist dies beabsichtigt?
1&gt;.\main.cpp(205) : error C2447: '{': Funktionsheader fehlt - Parameterliste im alten Stil?
1&gt;.\main.cpp(208) : error C2059: Syntaxfehler: '}'
1&gt;.\main.cpp(208) : error C2143: Syntaxfehler: Es fehlt ';' vor '}'
1&gt;.\main.cpp(208) : error C2059: Syntaxfehler: '}'
1&gt;Das Buildprotokoll wurde unter &quot;file://c:\Dokumente und Einstellungen\´?\Eigene Dateien\Visual Studio 2008\Projects\ETCG\ETCG\Release\BuildLog.htm&quot; gespeichert.
1&gt;ETCG - 17 Fehler, 1 Warnung(en)
========== Alles neu erstellen: 0 erfolgreich, Fehler bei 1, 0 übersprungen ==========
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1850746</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850746</guid><dc:creator><![CDATA[Pharao_Atem]]></dc:creator><pubDate>Fri, 05 Feb 2010 08:51:58 GMT</pubDate></item><item><title><![CDATA[Reply to Was ist Falsch warum geht es nicht on Fri, 05 Feb 2010 08:39:58 GMT]]></title><description><![CDATA[<p>Whow, was für eine Fehlerbeschreibung. Variablendeklarationen wären vielleicht mal ein Anfang.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850754</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850754</guid><dc:creator><![CDATA[SG1]]></dc:creator><pubDate>Fri, 05 Feb 2010 08:39:58 GMT</pubDate></item><item><title><![CDATA[Reply to Was ist Falsch warum geht es nicht on Fri, 05 Feb 2010 08:45:08 GMT]]></title><description><![CDATA[<p>sind doch drin!! &quot;void&quot; etc oder wie soll ichs sonst machen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850756</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850756</guid><dc:creator><![CDATA[Pharao_Atem]]></dc:creator><pubDate>Fri, 05 Feb 2010 08:45:08 GMT</pubDate></item><item><title><![CDATA[Reply to Was ist Falsch warum geht es nicht on Fri, 05 Feb 2010 08:58:17 GMT]]></title><description><![CDATA[<p>Irgendwie geistern bei dir einige unsinnige klammern rum, und es gibt (wie der Compiler korrekt sagt) keine lokalen Funktionen in C++. So was geht einfach nicht:</p>
<pre><code class="language-cpp">void hueh()
{
    void hott() {
        cout &lt;&lt; &quot;Galopppelgaloppelgaloppel&quot; &lt;&lt; endl;
    }
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1850769</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850769</guid><dc:creator><![CDATA[l&#x27;abra d&#x27;or]]></dc:creator><pubDate>Fri, 05 Feb 2010 08:58:17 GMT</pubDate></item><item><title><![CDATA[Reply to Was ist Falsch warum geht es nicht on Fri, 05 Feb 2010 09:00:23 GMT]]></title><description><![CDATA[<p>könnte mir jemand den code pls richtig stellen,da ich nicht wirklich durchblicke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850770</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850770</guid><dc:creator><![CDATA[Pharao_Atem]]></dc:creator><pubDate>Fri, 05 Feb 2010 09:00:23 GMT</pubDate></item><item><title><![CDATA[Reply to Was ist Falsch warum geht es nicht on Fri, 05 Feb 2010 09:11:29 GMT]]></title><description><![CDATA[<p>Öha, da ist ja noch mehr im Argen..<br />
Du hast ja auch 2 * eine main! Du solltest dir noch mal die Grundlagen zu Gemüte führen...<br />
Korrigieren wird dir den Code so wohl niemand...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850774</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850774</guid><dc:creator><![CDATA[l&#x27;abra d&#x27;or]]></dc:creator><pubDate>Fri, 05 Feb 2010 09:11:29 GMT</pubDate></item><item><title><![CDATA[Reply to Was ist Falsch warum geht es nicht on Fri, 05 Feb 2010 09:12:38 GMT]]></title><description><![CDATA[<p>schau dir deck und deckname an.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850775</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850775</guid><dc:creator><![CDATA[elise]]></dc:creator><pubDate>Fri, 05 Feb 2010 09:12:38 GMT</pubDate></item><item><title><![CDATA[Reply to Was ist Falsch warum geht es nicht on Fri, 05 Feb 2010 09:21:53 GMT]]></title><description><![CDATA[<p>deine main könnte auch einen wert zurückgeben.<br />
du kannst durch die ganzen void-funktionen nie sinnvoll überprüfen welche funktionen was gemacht haben... die behandlung in der funktion find ich immer nicht so gut...</p>
<p>und bevor man kein fehlerfreies program hat, lässt man solche loading und end-funktionen raus...<br />
wobei ich mich eigentlich für solche funktionen schämen würde ^^</p>
<p>ich habe mit einfachen konsolenprogrammen angefangen, ohne besondere zielstellung, und dass würde ich jedem anderen auch raten. aus der kalten zu versuchen ein yu-gi-oh-programm zu schreiben (sinn sei dahingestellt) muss irgendwie gegen den baum gehen...<br />
damit lernt man nix über die grundlagen, welche man benötigt sondern versucht irgendwie das gewünschte hinzufrickeln... mit gewissen grundlagen ausgestattet, kennt man dann auch andere wege ein solches &quot;programm&quot; zu schreiben.</p>
<p>MfG<br />
Bara</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850784</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850784</guid><dc:creator><![CDATA[Barados]]></dc:creator><pubDate>Fri, 05 Feb 2010 09:21:53 GMT</pubDate></item><item><title><![CDATA[Reply to Was ist Falsch warum geht es nicht on Fri, 05 Feb 2010 12:48:48 GMT]]></title><description><![CDATA[<p>Schau dir die Fehlermeldungen an, die sind alle selbsterklärend.<br />
Funktion 'int main(void)' hat bereits einen Funktionsrumpf -&gt; main() ist doppelt, darf nicht sein!<br />
'url': nichtdeklarierter Bezeichner -&gt; Der Compiler weis nicht was 'url' ist.<br />
etc...</p>
<p>Compilier dein Programm häufiger, am besten nach 2-3 neuen Zeilen. Damit du nur einzelne Fehler bekommst, weis wo sie sind und dann direkt lösen kannst und nicht gleich erschlagen wirst.</p>
<p>Und weil ich die Loading/Ending Funktionen so da stehend nicht ertragen kann, auch wenn sie keine Syntaxfehler enthalten:</p>
<pre><code class="language-cpp">//Anzeige eines verlogenden Ladebalkens
//Description= Name des Ladebalkens, standard &quot;Loading&quot;
//sleep_time= Zeit in ms die für jeden Ladeschritt benötigt wird, standard 500 ms
//LoadingPhaseCount= Anzahl der Ladeschritte, standard 10
void Loading(const char* Description = &quot;Loading&quot;, unsigned int sleep_time=500, unsigned int LoadingPhaseCount=10) {
	for(unsigned int LoadingPhase=0; LoadingPhase&lt;LoadingPhaseCount; LoadingPhase++) {
		cout &lt;&lt; Description &lt;&lt;&quot; [&quot;;
		for(unsigned int Stars=LoadingPhaseCount-LoadingPhase; Stars&lt;LoadingPhaseCount; Stars++)	cout &lt;&lt;&quot;*&quot;;
		for(unsigned int Points=LoadingPhase; Points&lt;LoadingPhaseCount; Points++) cout &lt;&lt;&quot;.&quot;;
		cout &lt;&lt; &quot;]&quot;;
		Sleep(sleep_time); system(&quot;cls&quot;);
	}
}
</code></pre>
<p>EDIT: Tippfehler korrigiert, Funktion allgemeiner geschrieben.</p>
<p>Gruß<br />
JaykopX</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1850889</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1850889</guid><dc:creator><![CDATA[JaykopX]]></dc:creator><pubDate>Fri, 05 Feb 2010 12:48:48 GMT</pubDate></item></channel></rss>