<?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[Zwei Vektoren aneinanderreihen]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>gibt es eine einfache Möglichkeit, zwei Vekotren aneinander zu reihen?</p>
<p>Ich bräuchte sowas in der Art</p>
<pre><code class="language-cpp">std::vektor&lt;string&gt; GanzeListe;
std::vektor&lt;string&gt; Teilliste;

//...
GanzeListe += Teilliste;
//...
</code></pre>
<p>Gruß<br />
Tobi</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/216888/zwei-vektoren-aneinanderreihen</link><generator>RSS for Node</generator><lastBuildDate>Sun, 11 Oct 2026 00:41:52 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/216888.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Jun 2008 10:55:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Zwei Vektoren aneinanderreihen on Mon, 30 Jun 2008 10:55:46 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>gibt es eine einfache Möglichkeit, zwei Vekotren aneinander zu reihen?</p>
<p>Ich bräuchte sowas in der Art</p>
<pre><code class="language-cpp">std::vektor&lt;string&gt; GanzeListe;
std::vektor&lt;string&gt; Teilliste;

//...
GanzeListe += Teilliste;
//...
</code></pre>
<p>Gruß<br />
Tobi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1538435</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1538435</guid><dc:creator><![CDATA[Tobias Gerg]]></dc:creator><pubDate>Mon, 30 Jun 2008 10:55:46 GMT</pubDate></item><item><title><![CDATA[Reply to Zwei Vektoren aneinanderreihen on Mon, 30 Jun 2008 11:01:18 GMT]]></title><description><![CDATA[<p>Schonmal <a href="http://cppreference.com/cppvector/insert.html" rel="nofollow">insert()</a> ausprobiert ?</p>
<p>Übrigens: <a href="http://cppreference.com" rel="nofollow">cppreference.com</a> ist eine gute Anlaufstelle, um sich Inspiration für die Antworten auf solche Fragen zu holen.</p>
<p>Gruß,</p>
<p>Simon2.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1538438</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1538438</guid><dc:creator><![CDATA[Simon2]]></dc:creator><pubDate>Mon, 30 Jun 2008 11:01:18 GMT</pubDate></item><item><title><![CDATA[Reply to Zwei Vektoren aneinanderreihen on Mon, 30 Jun 2008 11:01:36 GMT]]></title><description><![CDATA[<p>Jup,</p>
<p>bei mir kommt die Fehlermeldung</p>
<pre><code>../src/infoHandler.cpp:150: error: no match for 'operator+=' in 'ListWords += lines'
</code></pre>
<p>Gruß<br />
Tobi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1538443</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1538443</guid><dc:creator><![CDATA[Tobias Gerg]]></dc:creator><pubDate>Mon, 30 Jun 2008 11:01:36 GMT</pubDate></item><item><title><![CDATA[Reply to Zwei Vektoren aneinanderreihen on Mon, 30 Jun 2008 11:04:27 GMT]]></title><description><![CDATA[<p>Diese Fehlermeldung deuted aber nicht auf die verwendung von insert, sondern von += operator hin...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1538446</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1538446</guid><dc:creator><![CDATA[simon.gysi]]></dc:creator><pubDate>Mon, 30 Jun 2008 11:04:27 GMT</pubDate></item><item><title><![CDATA[Reply to Zwei Vektoren aneinanderreihen on Mon, 30 Jun 2008 11:05:43 GMT]]></title><description><![CDATA[<p>simon.gysi schrieb:</p>
<blockquote>
<p>Diese Fehlermeldung deuted aber nicht auf die verwendung von insert, sondern von += operator hin...</p>
</blockquote>
<p>Simon2 hatte vor dem Edit auch noch empfohlen, operator+= zu auszuprobieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1538447</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1538447</guid><dc:creator><![CDATA[Tachyon]]></dc:creator><pubDate>Mon, 30 Jun 2008 11:05:43 GMT</pubDate></item><item><title><![CDATA[Reply to Zwei Vektoren aneinanderreihen on Mon, 30 Jun 2008 11:09:49 GMT]]></title><description><![CDATA[<p>simon.gysi schrieb:</p>
<blockquote>
<p>Diese Fehlermeldung deuted aber nicht auf die verwendung von insert, sondern von += operator hin...</p>
</blockquote>
<p>Das ist mir auch klar...</p>
<p>Simon2 hatte vorher aber auch noch was anderes stehen. Und das bezog sich auf den += Operator.</p>
<p>Das mit insert werde ich mal versuchen.</p>
<p>Danke für den Tipp.</p>
<p>(insert hab ich glatt überlesen... <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="😃"
    /> War auch schon auf <a href="http://cppreference.com" rel="nofollow">cppreference.com</a>)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1538452</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1538452</guid><dc:creator><![CDATA[Tobias Gerg]]></dc:creator><pubDate>Mon, 30 Jun 2008 11:09:49 GMT</pubDate></item><item><title><![CDATA[Reply to Zwei Vektoren aneinanderreihen on Mon, 30 Jun 2008 11:14:48 GMT]]></title><description><![CDATA[<p>Sorry für die Verwirrung ... wusste nicht, dass Ihr so schnell lest, was ich schreibe ... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /><br />
(und ich sollte zukünftig vllt. mehr auf Qualität als auf Tempo achten)</p>
<p>Tobias Gerg schrieb:</p>
<blockquote>
<p>...<br />
(insert hab ich glatt überlesen... <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="😃"
    /> War auch schon auf <a href="http://cppreference.com" rel="nofollow">cppreference.com</a>)</p>
</blockquote>
<p>Für &quot;Überseher&quot; habe ich volles Verständnis und helfe auch gerne.</p>
<p>Gruß,</p>
<p>Simon2.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1538457</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1538457</guid><dc:creator><![CDATA[Simon2]]></dc:creator><pubDate>Mon, 30 Jun 2008 11:14:48 GMT</pubDate></item><item><title><![CDATA[Reply to Zwei Vektoren aneinanderreihen on Mon, 30 Jun 2008 11:15:59 GMT]]></title><description><![CDATA[<p>Danke nochmal... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
<p>insert war und ist dann auch die Lösung...</p>
<p>Gruß<br />
Tobi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1538461</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1538461</guid><dc:creator><![CDATA[Tobias Gerg]]></dc:creator><pubDate>Mon, 30 Jun 2008 11:15:59 GMT</pubDate></item><item><title><![CDATA[Reply to Zwei Vektoren aneinanderreihen on Mon, 30 Jun 2008 11:51:37 GMT]]></title><description><![CDATA[<p>insert hat aber nix mit += zu tun...</p>
<pre><code class="language-cpp">blubb.insert (bla.begin (), bla.end ());
</code></pre>
<p>würd ich jz einfach mal so raten</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1538496</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1538496</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Mon, 30 Jun 2008 11:51:37 GMT</pubDate></item><item><title><![CDATA[Reply to Zwei Vektoren aneinanderreihen on Mon, 30 Jun 2008 11:55:30 GMT]]></title><description><![CDATA[<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /><br />
Wieso sollte man (auch noch falsch) raten, wenn man mit einem Click <a href="http://cppreference.com/cppvector/insert.html" rel="nofollow">nachschlagen</a> kann ?</p>
<p>Gruß,</p>
<p>Simon2.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1538500</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1538500</guid><dc:creator><![CDATA[Simon2]]></dc:creator><pubDate>Mon, 30 Jun 2008 11:55:30 GMT</pubDate></item><item><title><![CDATA[Reply to Zwei Vektoren aneinanderreihen on Mon, 30 Jun 2008 12:24:03 GMT]]></title><description><![CDATA[<p>unskilled schrieb:</p>
<blockquote>
<p>insert hat aber nix mit += zu tun...</p>
<pre><code class="language-cpp">blubb.insert (bla.begin (), bla.end ());
</code></pre>
<p>würd ich jz einfach mal so raten</p>
</blockquote>
<p>Also... ich assoziere += mit anhängen (bei Vektoren).<br />
Das kann ich über insert auch nachbilden...</p>
<p>Von daher <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>Gruß<br />
Tobi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1538528</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1538528</guid><dc:creator><![CDATA[Tobias Gerg]]></dc:creator><pubDate>Mon, 30 Jun 2008 12:24:03 GMT</pubDate></item><item><title><![CDATA[Reply to Zwei Vektoren aneinanderreihen on Mon, 30 Jun 2008 16:02:47 GMT]]></title><description><![CDATA[<p>also ich assoziere + auch mit -... und 0 auch mit menschen...<br />
mal davon abgesehen, dass insert mehr kann, als nen += könnte kommt in der synthax zu insert kein += vor...<br />
aber kannst dich au noch dümmer stellen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1538677</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1538677</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Mon, 30 Jun 2008 16:02:47 GMT</pubDate></item></channel></rss>