<?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[Brauche Hilfe:  Verweis auf nicht aufgelöstes externes Symbol]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich habe ein kleines Programm zur berechnung von komplexen Zahlen geschrieben.<br />
Leider habe ich 3 Fehlermeldungen und weiß nicht was sie bedeuten und wo der Fehler ist.</p>
<p>1&gt;complexnumbers.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;&quot;class std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp; __cdecl operator&lt;&lt;(class std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp;,class complex)&quot; (??6@YAAAV?<span class="katex"><span class="katex-mathml"><math><semantics><mrow><mi>b</mi><mi>a</mi><mi>s</mi><mi>i</mi><mi>c</mi><mi mathvariant="normal">_</mi><mi>o</mi><mi>s</mi><mi>t</mi><mi>r</mi><mi>e</mi><mi>a</mi><mi>m</mi><mi mathvariant="normal">@</mi><mi>D</mi><mi>U</mi><mo>?</mo></mrow><annotation encoding="application/x-tex">basic\_ostream@DU?</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.69444em;"></span><span class="strut bottom" style="height:1.00444em;vertical-align:-0.31em;"></span><span class="base textstyle uncramped"><span class="mord mathit">b</span><span class="mord mathit">a</span><span class="mord mathit">s</span><span class="mord mathit">i</span><span class="mord mathit">c</span><span class="mord mathrm" style="margin-right:0.02778em;">_</span><span class="mord mathit">o</span><span class="mord mathit">s</span><span class="mord mathit">t</span><span class="mord mathit" style="margin-right:0.02778em;">r</span><span class="mord mathit">e</span><span class="mord mathit">a</span><span class="mord mathit">m</span><span class="mord mathrm">@</span><span class="mord mathit" style="margin-right:0.02778em;">D</span><span class="mord mathit" style="margin-right:0.10903em;">U</span><span class="mclose">?</span></span></span></span>char_traits@D@std@@@std@@AAV01@Vcomplex@@@Z)&quot; in Funktion &quot;_main&quot;.<br />
1&gt;complexnumbers.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;&quot;class std::basic_istream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp; __cdecl operator&gt;&gt;(class std::basic_istream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp;,class complex &amp;)&quot; (??5@YAAAV?<span class="katex"><span class="katex-mathml"><math><semantics><mrow><mi>b</mi><mi>a</mi><mi>s</mi><mi>i</mi><mi>c</mi><mi mathvariant="normal">_</mi><mi>i</mi><mi>s</mi><mi>t</mi><mi>r</mi><mi>e</mi><mi>a</mi><mi>m</mi><mi mathvariant="normal">@</mi><mi>D</mi><mi>U</mi><mo>?</mo></mrow><annotation encoding="application/x-tex">basic\_istream@DU?</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.69444em;"></span><span class="strut bottom" style="height:1.00444em;vertical-align:-0.31em;"></span><span class="base textstyle uncramped"><span class="mord mathit">b</span><span class="mord mathit">a</span><span class="mord mathit">s</span><span class="mord mathit">i</span><span class="mord mathit">c</span><span class="mord mathrm" style="margin-right:0.02778em;">_</span><span class="mord mathit">i</span><span class="mord mathit">s</span><span class="mord mathit">t</span><span class="mord mathit" style="margin-right:0.02778em;">r</span><span class="mord mathit">e</span><span class="mord mathit">a</span><span class="mord mathit">m</span><span class="mord mathrm">@</span><span class="mord mathit" style="margin-right:0.02778em;">D</span><span class="mord mathit" style="margin-right:0.10903em;">U</span><span class="mclose">?</span></span></span></span>char_traits@D@std@@@std@@AAV01@AAVcomplex@@@Z)&quot; in Funktion &quot;_main&quot;.<br />
1&gt;E:\Studium\2. Semester\GIT II\Eigene Software\Complex\Debug\Complex.exe : fatal error LNK1120: 2 nicht aufgelöste externe Verweise.</p>
<p>Hier mal der main inhalt:</p>
<pre><code class="language-cpp">#include &quot;complexnumbers.h&quot;

int main()
{

// Begruessung des Benutzers 
	cout &lt;&lt; &quot;Programm zur Demonstration von Operationen mit Complexen Zahlen&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;Version 1.0&quot; &lt;&lt; endl &lt;&lt; endl;
	cout &lt;&lt; &quot;Die Eingabe von \&quot;0 0\&quot; beendet das Programm&quot; &lt;&lt; endl;

	// Endlosschleife: Programm wird per &quot;0 0&quot; beendet
	do {
		// try Block fängt alle numerischen Exceptions ab
		//try {
			// Variablen rationaler Zahlen zur Durchführung beispielhafter Berechnungen
			complex c1;
			complex c2;
			complex c3;

			// Eingabe der ersten complexen Zahl
			cout &lt;&lt; endl &lt;&lt; &quot;Erste  comlexe Zahl eingeben (c bzw. a+b*i): &quot;;
			cin &gt;&gt; c1;
			cout &lt;&lt; endl &lt;&lt; &quot;Zweite complexe Zahl eingeben (c bzw. a+b*i): &quot;;
			cin &gt;&gt; c2;

			//if (c1 == 0 &amp;&amp; c2 == 0) break; //exit(0);

			// Addition

			c3 = c1 + c2;
			cout &lt;&lt; endl &lt;&lt; &quot;Addition      : &quot; &lt;&lt; c1 &lt;&lt; &quot; + &quot; &lt;&lt; c2 &lt;&lt; &quot; = &quot;;
			cout &lt;&lt; c3 &lt;&lt; endl;

			// Subtraktion
			c3 = c1 - c2;
			cout &lt;&lt; endl &lt;&lt; &quot;Subtraktion   : &quot; &lt;&lt; c1 &lt;&lt; &quot; - &quot; &lt;&lt; c2 &lt;&lt; &quot; = &quot;;
			cout &lt;&lt; c3 &lt;&lt; endl;

			// Multiplikation
			c3 = c1 * c2;
			cout &lt;&lt; endl &lt;&lt; &quot;Multiplikation: &quot; &lt;&lt; c1 &lt;&lt; &quot; * &quot; &lt;&lt; c2 &lt;&lt; &quot; = &quot;;
			cout &lt;&lt; c3 &lt;&lt; endl;

			// Division
			c3 = c1 / c2;
			cout &lt;&lt; endl &lt;&lt; &quot;Division      : &quot; &lt;&lt; c1 &lt;&lt; &quot; / &quot; &lt;&lt; c2 &lt;&lt; &quot; = &quot;;
			cout &lt;&lt; c3 &lt;&lt; endl;

			cout &lt;&lt; endl;
		/*} catch (divisionByZeroError) {
			// Die Fehlerbehandlung ist hier noch rudimentaer; wird in naechsten Versionen verbessert!
			cerr &lt;&lt; endl &lt;&lt; &quot;Fehler: Divsion durch Null!&quot; &lt;&lt; endl &lt;&lt; endl;
		} catch (notcomplexNumberError) {
			// Die Fehlerbehandlung ist hier noch rudimentaer; wird in naechsten Versionen verbessert!
			cerr &lt;&lt; endl &lt;&lt; &quot;Fehler: Keine gueltige complexe Zahl!&quot; &lt;&lt; endl &lt;&lt; endl;
		}*/
	} while (true); 

	return 0;
}
</code></pre>
<p>Wenn jemand helfen könnte wäre echt super</p>
<p>Gruß</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/183300/brauche-hilfe-verweis-auf-nicht-aufgelöstes-externes-symbol</link><generator>RSS for Node</generator><lastBuildDate>Wed, 23 Sep 2026 05:01:50 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/183300.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 03 Jun 2007 19:01:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Brauche Hilfe:  Verweis auf nicht aufgelöstes externes Symbol on Sun, 03 Jun 2007 19:01:34 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich habe ein kleines Programm zur berechnung von komplexen Zahlen geschrieben.<br />
Leider habe ich 3 Fehlermeldungen und weiß nicht was sie bedeuten und wo der Fehler ist.</p>
<p>1&gt;complexnumbers.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;&quot;class std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp; __cdecl operator&lt;&lt;(class std::basic_ostream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp;,class complex)&quot; (??6@YAAAV?<span class="katex"><span class="katex-mathml"><math><semantics><mrow><mi>b</mi><mi>a</mi><mi>s</mi><mi>i</mi><mi>c</mi><mi mathvariant="normal">_</mi><mi>o</mi><mi>s</mi><mi>t</mi><mi>r</mi><mi>e</mi><mi>a</mi><mi>m</mi><mi mathvariant="normal">@</mi><mi>D</mi><mi>U</mi><mo>?</mo></mrow><annotation encoding="application/x-tex">basic\_ostream@DU?</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.69444em;"></span><span class="strut bottom" style="height:1.00444em;vertical-align:-0.31em;"></span><span class="base textstyle uncramped"><span class="mord mathit">b</span><span class="mord mathit">a</span><span class="mord mathit">s</span><span class="mord mathit">i</span><span class="mord mathit">c</span><span class="mord mathrm" style="margin-right:0.02778em;">_</span><span class="mord mathit">o</span><span class="mord mathit">s</span><span class="mord mathit">t</span><span class="mord mathit" style="margin-right:0.02778em;">r</span><span class="mord mathit">e</span><span class="mord mathit">a</span><span class="mord mathit">m</span><span class="mord mathrm">@</span><span class="mord mathit" style="margin-right:0.02778em;">D</span><span class="mord mathit" style="margin-right:0.10903em;">U</span><span class="mclose">?</span></span></span></span>char_traits@D@std@@@std@@AAV01@Vcomplex@@@Z)&quot; in Funktion &quot;_main&quot;.<br />
1&gt;complexnumbers.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;&quot;class std::basic_istream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp; __cdecl operator&gt;&gt;(class std::basic_istream&lt;char,struct std::char_traits&lt;char&gt; &gt; &amp;,class complex &amp;)&quot; (??5@YAAAV?<span class="katex"><span class="katex-mathml"><math><semantics><mrow><mi>b</mi><mi>a</mi><mi>s</mi><mi>i</mi><mi>c</mi><mi mathvariant="normal">_</mi><mi>i</mi><mi>s</mi><mi>t</mi><mi>r</mi><mi>e</mi><mi>a</mi><mi>m</mi><mi mathvariant="normal">@</mi><mi>D</mi><mi>U</mi><mo>?</mo></mrow><annotation encoding="application/x-tex">basic\_istream@DU?</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.69444em;"></span><span class="strut bottom" style="height:1.00444em;vertical-align:-0.31em;"></span><span class="base textstyle uncramped"><span class="mord mathit">b</span><span class="mord mathit">a</span><span class="mord mathit">s</span><span class="mord mathit">i</span><span class="mord mathit">c</span><span class="mord mathrm" style="margin-right:0.02778em;">_</span><span class="mord mathit">i</span><span class="mord mathit">s</span><span class="mord mathit">t</span><span class="mord mathit" style="margin-right:0.02778em;">r</span><span class="mord mathit">e</span><span class="mord mathit">a</span><span class="mord mathit">m</span><span class="mord mathrm">@</span><span class="mord mathit" style="margin-right:0.02778em;">D</span><span class="mord mathit" style="margin-right:0.10903em;">U</span><span class="mclose">?</span></span></span></span>char_traits@D@std@@@std@@AAV01@AAVcomplex@@@Z)&quot; in Funktion &quot;_main&quot;.<br />
1&gt;E:\Studium\2. Semester\GIT II\Eigene Software\Complex\Debug\Complex.exe : fatal error LNK1120: 2 nicht aufgelöste externe Verweise.</p>
<p>Hier mal der main inhalt:</p>
<pre><code class="language-cpp">#include &quot;complexnumbers.h&quot;

int main()
{

// Begruessung des Benutzers 
	cout &lt;&lt; &quot;Programm zur Demonstration von Operationen mit Complexen Zahlen&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;Version 1.0&quot; &lt;&lt; endl &lt;&lt; endl;
	cout &lt;&lt; &quot;Die Eingabe von \&quot;0 0\&quot; beendet das Programm&quot; &lt;&lt; endl;

	// Endlosschleife: Programm wird per &quot;0 0&quot; beendet
	do {
		// try Block fängt alle numerischen Exceptions ab
		//try {
			// Variablen rationaler Zahlen zur Durchführung beispielhafter Berechnungen
			complex c1;
			complex c2;
			complex c3;

			// Eingabe der ersten complexen Zahl
			cout &lt;&lt; endl &lt;&lt; &quot;Erste  comlexe Zahl eingeben (c bzw. a+b*i): &quot;;
			cin &gt;&gt; c1;
			cout &lt;&lt; endl &lt;&lt; &quot;Zweite complexe Zahl eingeben (c bzw. a+b*i): &quot;;
			cin &gt;&gt; c2;

			//if (c1 == 0 &amp;&amp; c2 == 0) break; //exit(0);

			// Addition

			c3 = c1 + c2;
			cout &lt;&lt; endl &lt;&lt; &quot;Addition      : &quot; &lt;&lt; c1 &lt;&lt; &quot; + &quot; &lt;&lt; c2 &lt;&lt; &quot; = &quot;;
			cout &lt;&lt; c3 &lt;&lt; endl;

			// Subtraktion
			c3 = c1 - c2;
			cout &lt;&lt; endl &lt;&lt; &quot;Subtraktion   : &quot; &lt;&lt; c1 &lt;&lt; &quot; - &quot; &lt;&lt; c2 &lt;&lt; &quot; = &quot;;
			cout &lt;&lt; c3 &lt;&lt; endl;

			// Multiplikation
			c3 = c1 * c2;
			cout &lt;&lt; endl &lt;&lt; &quot;Multiplikation: &quot; &lt;&lt; c1 &lt;&lt; &quot; * &quot; &lt;&lt; c2 &lt;&lt; &quot; = &quot;;
			cout &lt;&lt; c3 &lt;&lt; endl;

			// Division
			c3 = c1 / c2;
			cout &lt;&lt; endl &lt;&lt; &quot;Division      : &quot; &lt;&lt; c1 &lt;&lt; &quot; / &quot; &lt;&lt; c2 &lt;&lt; &quot; = &quot;;
			cout &lt;&lt; c3 &lt;&lt; endl;

			cout &lt;&lt; endl;
		/*} catch (divisionByZeroError) {
			// Die Fehlerbehandlung ist hier noch rudimentaer; wird in naechsten Versionen verbessert!
			cerr &lt;&lt; endl &lt;&lt; &quot;Fehler: Divsion durch Null!&quot; &lt;&lt; endl &lt;&lt; endl;
		} catch (notcomplexNumberError) {
			// Die Fehlerbehandlung ist hier noch rudimentaer; wird in naechsten Versionen verbessert!
			cerr &lt;&lt; endl &lt;&lt; &quot;Fehler: Keine gueltige complexe Zahl!&quot; &lt;&lt; endl &lt;&lt; endl;
		}*/
	} while (true); 

	return 0;
}
</code></pre>
<p>Wenn jemand helfen könnte wäre echt super</p>
<p>Gruß</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1297986</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1297986</guid><dc:creator><![CDATA[Physikus]]></dc:creator><pubDate>Sun, 03 Jun 2007 19:01:34 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche Hilfe:  Verweis auf nicht aufgelöstes externes Symbol on Sun, 03 Jun 2007 19:33:40 GMT]]></title><description><![CDATA[<p>du hast halt falsch includet oder 2 funktionen nicht defininiert ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1298015</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1298015</guid><dc:creator><![CDATA[Stelfer]]></dc:creator><pubDate>Sun, 03 Jun 2007 19:33:40 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche Hilfe:  Verweis auf nicht aufgelöstes externes Symbol on Sun, 03 Jun 2007 19:35:32 GMT]]></title><description><![CDATA[<p>Hi</p>
<p>Hab den Fehler gefunden.....</p>
<p>DANKE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1298016</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1298016</guid><dc:creator><![CDATA[Physikus]]></dc:creator><pubDate>Sun, 03 Jun 2007 19:35:32 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche Hilfe:  Verweis auf nicht aufgelöstes externes Symbol on Sun, 03 Jun 2007 19:38:24 GMT]]></title><description><![CDATA[<p>bitte <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1298019</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1298019</guid><dc:creator><![CDATA[Stelfer]]></dc:creator><pubDate>Sun, 03 Jun 2007 19:38:24 GMT</pubDate></item></channel></rss>