<?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[std::string.erase()]]></title><description><![CDATA[<p>uten Morgen Leute</p>
<p>ich hab da ma ne Frage. Ich schreibe für ein Programm jede Menge Faxen, die erstma nix direkt mit meinem Problem zu tun haben.</p>
<p>Allerding soll das ganze auch ein ConfigFile haben, In welchem dann Server- und Logininformationen stehen. Diese sind per Komma getrennt. Das suchen nach dem Trennkomma funktioniert, nur um dann auch bis zum nächste Info-Element abtrennen zu können muss ich Alles bis zum ersten Trennkomma und das Komma löschen, damit die schleife wieder einen entsprechend korrekten string hat.</p>
<p>Ich nutze den Datentyp string ( #include &lt;string&gt; unsing namespace std; ). Dieser Datentyp stellt doch eine Funktion erase() bereit, oder? Bei dem Aufruf bekomme ich allerding einen Fehler der besagt, dass erase() ncht Teil von string ist.</p>
<p>Schonma Danke für eure Hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/123447/std-string-erase</link><generator>RSS for Node</generator><lastBuildDate>Sun, 23 Aug 2026 13:09:46 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/123447.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Oct 2005 07:55:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to std::string.erase() on Mon, 17 Oct 2005 07:55:45 GMT]]></title><description><![CDATA[<p>uten Morgen Leute</p>
<p>ich hab da ma ne Frage. Ich schreibe für ein Programm jede Menge Faxen, die erstma nix direkt mit meinem Problem zu tun haben.</p>
<p>Allerding soll das ganze auch ein ConfigFile haben, In welchem dann Server- und Logininformationen stehen. Diese sind per Komma getrennt. Das suchen nach dem Trennkomma funktioniert, nur um dann auch bis zum nächste Info-Element abtrennen zu können muss ich Alles bis zum ersten Trennkomma und das Komma löschen, damit die schleife wieder einen entsprechend korrekten string hat.</p>
<p>Ich nutze den Datentyp string ( #include &lt;string&gt; unsing namespace std; ). Dieser Datentyp stellt doch eine Funktion erase() bereit, oder? Bei dem Aufruf bekomme ich allerding einen Fehler der besagt, dass erase() ncht Teil von string ist.</p>
<p>Schonma Danke für eure Hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/893879</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/893879</guid><dc:creator><![CDATA[ray_ray]]></dc:creator><pubDate>Mon, 17 Oct 2005 07:55:45 GMT</pubDate></item><item><title><![CDATA[Reply to std::string.erase() on Mon, 17 Oct 2005 07:57:41 GMT]]></title><description><![CDATA[<p><a href="http://www.cppreference.com/cppstring/erase.html" rel="nofollow">http://www.cppreference.com/cppstring/erase.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/893880</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/893880</guid><dc:creator><![CDATA[:-))]]></dc:creator><pubDate>Mon, 17 Oct 2005 07:57:41 GMT</pubDate></item><item><title><![CDATA[Reply to std::string.erase() on Mon, 17 Oct 2005 07:58:47 GMT]]></title><description><![CDATA[<p><a href="http://www.fun-soft.de/showtopic.php?threadid=12935" rel="nofollow">http://www.fun-soft.de/showtopic.php?threadid=12935</a> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_down"
      title=":-1:"
      alt="👎"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/893881</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/893881</guid><dc:creator><![CDATA[:-))]]></dc:creator><pubDate>Mon, 17 Oct 2005 07:58:47 GMT</pubDate></item><item><title><![CDATA[Reply to std::string.erase() on Mon, 17 Oct 2005 08:00:43 GMT]]></title><description><![CDATA[<p><a href="http://www.codingcommunity.de/wbb2/thread.php?postid=17712" rel="nofollow">http://www.codingcommunity.de/wbb2/thread.php?postid=17712</a> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_down"
      title=":-1:"
      alt="👎"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_down"
      title=":-1:"
      alt="👎"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_down"
      title=":-1:"
      alt="👎"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_down"
      title=":-1:"
      alt="👎"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f621.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--pouting_face"
      title=":rage:"
      alt="😡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/893882</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/893882</guid><dc:creator><![CDATA[:-))]]></dc:creator><pubDate>Mon, 17 Oct 2005 08:00:43 GMT</pubDate></item><item><title><![CDATA[Reply to std::string.erase() on Mon, 17 Oct 2005 08:24:26 GMT]]></title><description><![CDATA[<p>vielen dank. du hast mir sehr geholfen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/893895</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/893895</guid><dc:creator><![CDATA[ray_ray]]></dc:creator><pubDate>Mon, 17 Oct 2005 08:24:26 GMT</pubDate></item><item><title><![CDATA[Reply to std::string.erase() on Mon, 17 Oct 2005 08:24:57 GMT]]></title><description><![CDATA[<p>Was soll die scheisse mit den Crossposts?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/893896</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/893896</guid><dc:creator><![CDATA[:-))]]></dc:creator><pubDate>Mon, 17 Oct 2005 08:24:57 GMT</pubDate></item></channel></rss>