<?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[map]]></title><description><![CDATA[<p>hallo, ich lerne gerade was über map - interessanterweise ist in dem recht umfangreichen Tutor C++ von Dirk Louis (C++ 11) nichts explizit enthalten, habe im Netz aber dies gefunden:</p>
<p><a href="http://www.poulter.de/projekte/Assoziative_Container_in_Cxx.pdf" rel="nofollow">http://www.poulter.de/projekte/Assoziative_Container_in_Cxx.pdf</a></p>
<p>nun tue ich ein Beispiel (6 daselbst) in mein Xcode und er sagt das: &quot;No viable overloded &quot;=&quot;</p>
<p>ich übersetze &quot;ausweglos überladen&quot; was mag das bedeuten, und erst das Gleichheitszeichen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/321162/map</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 23:10:16 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/321162.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 26 Oct 2013 08:25:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to map on Sat, 26 Oct 2013 08:25:01 GMT]]></title><description><![CDATA[<p>hallo, ich lerne gerade was über map - interessanterweise ist in dem recht umfangreichen Tutor C++ von Dirk Louis (C++ 11) nichts explizit enthalten, habe im Netz aber dies gefunden:</p>
<p><a href="http://www.poulter.de/projekte/Assoziative_Container_in_Cxx.pdf" rel="nofollow">http://www.poulter.de/projekte/Assoziative_Container_in_Cxx.pdf</a></p>
<p>nun tue ich ein Beispiel (6 daselbst) in mein Xcode und er sagt das: &quot;No viable overloded &quot;=&quot;</p>
<p>ich übersetze &quot;ausweglos überladen&quot; was mag das bedeuten, und erst das Gleichheitszeichen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2363023</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2363023</guid><dc:creator><![CDATA[brak]]></dc:creator><pubDate>Sat, 26 Oct 2013 08:25:01 GMT</pubDate></item><item><title><![CDATA[Reply to map on Sat, 26 Oct 2013 08:32:39 GMT]]></title><description><![CDATA[<p>1.- Mal interessenmäßig, deine Sprache ist etwas komisch. Kann es sein, dass du nicht nativ deutsch sprichst? Wenn ja, dann ist alles ok. Wenn doch, dann würde ich dich bitten, dass du deine Beiträge vor dem Abschicken nochmal Korrektur liest.</p>
<p>2.- Was für ein Beispiel meinst du? In dem Aufsatz gibt es mehrere Beispiele, auf den ersten Blick sind die auch alle korrekt. Sie sind aber nicht durchnummeriert, welches meinst du daher? Das Listing in Kapitel 6 ist nämlich ok.</p>
<p>3.- Es gibt öfters eine Diskrepanz zwischen Compilererrors/Warnings und denen der IDE. Wenn XCode dir sagt, dass da was falsch ist, dann sagt dir das der COmpiler noch nicht. Erst wenn dir beim kompilieren Fehler angezeigt werden ist auch was falsch.</p>
<p>Die Fehlermeldung heisst sowas wie: &quot;Es gibt keinen passenden operator=, der überladen ist.&quot; (Zuweisungsoperator)</p>
<p>Zeig mal Code...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2363025</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2363025</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Sat, 26 Oct 2013 08:32:39 GMT</pubDate></item><item><title><![CDATA[Reply to map on Sat, 26 Oct 2013 08:40:45 GMT]]></title><description><![CDATA[<pre><code>//  main.cpp
#include &lt;map&gt;
#include &lt;string&gt;
#include &lt;iostream&gt;

using std::map;
using std::string;
using std::cin;
using std::cout;
using std::endl;
using std::pair;
 int main(){
    string s;

     map&lt;string, int&gt; zaehler;

     while( cin &gt;&gt; s )
         ++zaehler[s];

     s = &quot;abcd&quot;;

    map&lt;string, int&gt;::const_iterator it;
    it = zaehler.find( s );

     pair&lt;const string, int&gt; element;
     element = *it;

 cout &lt;&lt; &quot;Erstes : &quot; &lt;&lt; element.first &lt;&lt; endl;
 cout &lt;&lt; &quot;Zweites: &quot; &lt;&lt; element.second &lt;&lt; endl;
  }
</code></pre>
<p>Hier der Code ++ Er sagt, auch &quot;Build failed&quot;, wenn ich ausführen lassen will das Programm</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2363026</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2363026</guid><dc:creator><![CDATA[brak]]></dc:creator><pubDate>Sat, 26 Oct 2013 08:40:45 GMT</pubDate></item><item><title><![CDATA[Reply to map on Sat, 26 Oct 2013 09:09:08 GMT]]></title><description><![CDATA[<p>Skym0sh0 schrieb:</p>
<blockquote>
<p>1.- Mal interessenmäßig, deine Sprache ist etwas komisch. Kann es sein, dass du nicht nativ deutsch sprichst? Wenn ja, dann ist alles ok. Wenn doch, dann würde ich dich bitten, dass du deine Beiträge vor dem Abschicken nochmal Korrektur liest.</p>
</blockquote>
<p>Hast schon recht, sind wir eine zweisprachige Familie - aber ich dachte, ich eigentlich ganz deutsch gut schreiben kann. Wo sind denn Fehler?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2363028</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2363028</guid><dc:creator><![CDATA[brak]]></dc:creator><pubDate>Sat, 26 Oct 2013 09:09:08 GMT</pubDate></item><item><title><![CDATA[Reply to map on Sat, 26 Oct 2013 08:58:07 GMT]]></title><description><![CDATA[<pre><code>Hast schon recht, sind&lt;-&gt;wir eine zweisprachige Familie - aber ich dachte, ich eigentlich ganz deutsch&lt;-&gt;gut schreiben kann.
                                                                              ^                                        vvvv
                                                                              |__________&lt;________&lt;___________&lt;_________|
</code></pre>
<blockquote>
<p>Hier der Code ++ Er sagt, auch &quot;Build failed&quot;, wenn ich ausführen lassen will das Programm</p>
</blockquote>
<p>Fehlermeldung?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2363029</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2363029</guid><dc:creator><![CDATA[Columbo]]></dc:creator><pubDate>Sat, 26 Oct 2013 08:58:07 GMT</pubDate></item><item><title><![CDATA[Reply to map on Sat, 26 Oct 2013 09:05:20 GMT]]></title><description><![CDATA[<p>Richtig wäre ein &quot;dass&quot; nach dem Komma. &quot;aber ich dachte, {Hauptsatz}&quot; ist extrem holprig bzw falsch. Sone ist Muttersprachler, er sollte das wissen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2363030</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2363030</guid><dc:creator><![CDATA[otze]]></dc:creator><pubDate>Sat, 26 Oct 2013 09:05:20 GMT</pubDate></item><item><title><![CDATA[Reply to map on Sat, 26 Oct 2013 09:18:18 GMT]]></title><description><![CDATA[<p>Danke, hier die Fehlermeldung: <a href="http://www.bilder-hochladen.net/files/kiyp-5-e4da-png.html" rel="nofollow">http://www.bilder-hochladen.net/files/kiyp-5-e4da-png.html</a></p>
<p>Es reicht eigentlich, wenn jemand mir mal was praktikables sendet, wo ich praktisch map und multimap studieren und ausprobieren kann.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2363031</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2363031</guid><dc:creator><![CDATA[brak]]></dc:creator><pubDate>Sat, 26 Oct 2013 09:18:18 GMT</pubDate></item><item><title><![CDATA[Reply to map on Sat, 26 Oct 2013 09:34:54 GMT]]></title><description><![CDATA[<p>Pair hat einen const string, map nicht. Warum?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2363033</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2363033</guid><dc:creator><![CDATA[manni66]]></dc:creator><pubDate>Sat, 26 Oct 2013 09:34:54 GMT</pubDate></item><item><title><![CDATA[Reply to map on Sat, 26 Oct 2013 09:40:48 GMT]]></title><description><![CDATA[<p>schreib in zeile 25 von deinem code (im bild) einfach:</p>
<pre><code>map&lt;string, int&gt;::value_type element;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2363034</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2363034</guid><dc:creator><![CDATA[sfasfsaf]]></dc:creator><pubDate>Sat, 26 Oct 2013 09:40:48 GMT</pubDate></item><item><title><![CDATA[Reply to map on Sat, 26 Oct 2013 09:45:39 GMT]]></title><description><![CDATA[<p>ich hab das vor dem it reingesetzt</p>
<pre><code>map&lt;string, int&gt;::const_iterator it;
    map&lt;string, int&gt;::value_type element;
     it = zaehler.find( s );

     pair&lt;const string, int&gt; element;
     element = *it;
</code></pre>
<p>und dann sagt er bei Zeile 28 (pair.) &quot;redefinition of element&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2363038</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2363038</guid><dc:creator><![CDATA[brak]]></dc:creator><pubDate>Sat, 26 Oct 2013 09:45:39 GMT</pubDate></item><item><title><![CDATA[Reply to map on Sat, 26 Oct 2013 09:47:54 GMT]]></title><description><![CDATA[<p>troll? ist doch offensichtlich dass ich damit meinte, du sollst die bisherige definition von &quot;element&quot; damit ersetzen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2363040</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2363040</guid><dc:creator><![CDATA[sfasfsaf]]></dc:creator><pubDate>Sat, 26 Oct 2013 09:47:54 GMT</pubDate></item></channel></rss>