<?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[Name mit char?]]></title><description><![CDATA[<p>Hi,<br />
ich benutze Visual Studio 2010 und diesen Quellcode:</p>
<p>#include &lt;iostream&gt;</p>
<p>using namespace std;</p>
<p>int main()<br />
{<br />
//Variablen<br />
//<br />
char chName;</p>
<p>cout &lt;&lt; &quot;Wie ist dein Name?\n&quot;;<br />
cin &gt;&gt; chName;<br />
cout &lt;&lt; &quot;Hallo &quot; &lt;&lt; chName &lt;&lt; &quot;!\n&quot;;<br />
system (&quot;pause&quot;);<br />
}</p>
<p>Ich will, dass dein Name da steht aber es steht nur der erste Buchstabe da.<br />
Was muss ich ändern?</p>
<p>P.S.: Ihr denkt vielleicht, dass das eine dumme Frage ist aber ich bin leider noch Anfänger <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/292809/name-mit-char</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 16:32:20 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/292809.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Sep 2011 13:47:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 13:47:34 GMT]]></title><description><![CDATA[<p>Hi,<br />
ich benutze Visual Studio 2010 und diesen Quellcode:</p>
<p>#include &lt;iostream&gt;</p>
<p>using namespace std;</p>
<p>int main()<br />
{<br />
//Variablen<br />
//<br />
char chName;</p>
<p>cout &lt;&lt; &quot;Wie ist dein Name?\n&quot;;<br />
cin &gt;&gt; chName;<br />
cout &lt;&lt; &quot;Hallo &quot; &lt;&lt; chName &lt;&lt; &quot;!\n&quot;;<br />
system (&quot;pause&quot;);<br />
}</p>
<p>Ich will, dass dein Name da steht aber es steht nur der erste Buchstabe da.<br />
Was muss ich ändern?</p>
<p>P.S.: Ihr denkt vielleicht, dass das eine dumme Frage ist aber ich bin leider noch Anfänger <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120811</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120811</guid><dc:creator><![CDATA[Crazy007]]></dc:creator><pubDate>Sun, 18 Sep 2011 13:47:34 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 13:51:55 GMT]]></title><description><![CDATA[<p>char ist auch nur ein Zeichen, nimm std::string, für den Anfang reicht der, auch wenn er nicht toll ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120814</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120814</guid><dc:creator><![CDATA[ja]]></dc:creator><pubDate>Sun, 18 Sep 2011 13:51:55 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 13:53:56 GMT]]></title><description><![CDATA[<p>ja schrieb:</p>
<blockquote>
<p>auch wenn er nicht toll ist.</p>
</blockquote>
<p><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="🤡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120816</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120816</guid><dc:creator><![CDATA[cooky451]]></dc:creator><pubDate>Sun, 18 Sep 2011 13:53:56 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 14:12:43 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include &lt;iostream&gt; 
#include &lt;string&gt;
#include &lt;cstdlib&gt;

using namespace std; 

int main() 
{ 
//Variablen 
// 
    string Name; 

    cout &lt;&lt; &quot;Wie ist dein Name?&quot;&lt;&lt;endl; 
    getline(cin,Name);// nicht cin&gt;&gt; denn dann wird nur bis zum ersten White-Space gelesen
    cout &lt;&lt; &quot;Hallo &quot; &lt;&lt; chName &lt;&lt; '!' &lt;&lt;endl;

    system(&quot;pause&quot;);
}
</code></pre>
<p>P.S.: 'string Name;' ist sehr viel nützlicher als</p>
<pre><code class="language-cpp">char* Name;// (Die C-String Deklaration)
</code></pre>
<p>, denn der ist sehr viel schlechter, und die einzige andere Möglichkeit um einen String zu erzeugen (außer</p>
<pre><code class="language-cpp">char Zeigername[anzahl_Zeichen];
</code></pre>
<p>, was so ungefähr dasselbe ist). Deswegen würd ich mir das nochmal ganz genau angucken.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120820</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120820</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sun, 18 Sep 2011 14:12:43 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 14:07:00 GMT]]></title><description><![CDATA[<p>ja schrieb:</p>
<blockquote>
<p>char ist auch nur ein Zeichen, nimm std::string, für den Anfang reicht der, auch wenn er nicht toll ist.</p>
</blockquote>
<p>Was hättest du den sonst anzubieten, was in der Anwendungsbreite von std::string besser ist?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120822</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120822</guid><dc:creator><![CDATA[*Rewind*]]></dc:creator><pubDate>Sun, 18 Sep 2011 14:07:00 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 14:25:57 GMT]]></title><description><![CDATA[<p>Danke an alle!<br />
Das hat mir sehr geholfen! <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>
]]></description><link>https://www.c-plusplus.net/forum/post/2120829</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120829</guid><dc:creator><![CDATA[Crazy007]]></dc:creator><pubDate>Sun, 18 Sep 2011 14:25:57 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 14:58:58 GMT]]></title><description><![CDATA[<p>Hacker schrieb:</p>
<blockquote>
<p>P.S.: 'string Name;' ist sehr viel nützlicher als</p>
<pre><code class="language-cpp">char* Name;// (Die C-String Deklaration)
</code></pre>
<p>, denn der ist sehr viel schlechter, und die einzige andere Möglichkeit um einen String zu erzeugen (außer</p>
<pre><code class="language-cpp">char Zeigername[anzahl_Zeichen];
</code></pre>
<p>, was so ungefähr dasselbe ist). Deswegen würd ich mir das nochmal ganz genau angucken.</p>
</blockquote>
<p>Grund? Du sagst nur &quot;A ist besser als B weil B schlechter als A ist&quot; <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 />
Auf system(&quot;pause&quot;); geh ich mal nicht ein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120850</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120850</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Sun, 18 Sep 2011 14:58:58 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 15:40:02 GMT]]></title><description><![CDATA[<blockquote>
<p>Grund? Du sagst nur &quot;A ist besser als B weil B schlechter als A ist&quot; <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 />
Auf system(&quot;pause&quot;); geh ich mal nicht ein.</p>
</blockquote>
<p>Ich bin sicher system(); war nur als Beispiel , was du sicher genau weißt <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=";D"
      alt="😉"
    /><br />
Und ich fin string auch besser weil char schlechter ist x'DD..... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f60b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_savoring_food"
      title=":yum:"
      alt="😋"
    /> <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="🤡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120871</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120871</guid><dc:creator><![CDATA[7xCore]]></dc:creator><pubDate>Sun, 18 Sep 2011 15:40:02 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 16:24:38 GMT]]></title><description><![CDATA[<p>314159265358979 schrieb:</p>
<blockquote>
<p>Hacker schrieb:</p>
<blockquote>
<p>P.S.: 'string Name;' ist sehr viel nützlicher als</p>
<pre><code class="language-cpp">char* Name;// (Die C-String Deklaration)
</code></pre>
<p>, denn der ist sehr viel schlechter, und die einzige andere Möglichkeit um einen String zu erzeugen (außer</p>
<pre><code class="language-cpp">char Zeigername[anzahl_Zeichen];
</code></pre>
<p>, was so ungefähr dasselbe ist). Deswegen würd ich mir das nochmal ganz genau angucken.</p>
</blockquote>
<p>Grund? Du sagst nur &quot;A ist besser als B weil B schlechter als A ist&quot; <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 />
Auf system(&quot;pause&quot;); geh ich mal nicht ein.</p>
</blockquote>
<p>1. system(&quot;pause&quot;) hab ich nur gelassen, weil er es auch drin hatte.</p>
<p>2. Willst du Gründe?</p>
<p>-char* hat massig Probleme mit Pufferüberläufen, es wird dank nicht aufgepassten Kopierfunktionen wie strcpy oder strcat in unerlaubte Speicherbereiche geschrieben was schlimme Folgen haben kann</p>
<p>-Es ist sehr umständlich, die ganzen Funktionen zum Bearbeiten zu verwenden, die ja in string bereits vereinfacht und effektiv untergebracht sind;</p>
<p>Beispielcode:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;cstring&gt;

using namespace std;

int main(){

    char a[10]=&quot;lalala&quot;;/*bzw. strcpy(),strncpy();*/
    string b(&quot;lalala&quot;);//Funktioniert auch mit anderen strings, auch für Bereichs-übernahme (z.B.: string c(b,3,3);)
                       // Was es (soweit ich weiß) in C gar nicht gibt.

    /*Länge des C-Strings a nicht regulier-bar.
    Die des C++-Strings b hingegen wunderbar und implizit, z.b. mit resize,reserve*/

    b.length();// bzw. size()
    strlen(a); // C-String funktion

    strcat(a,&quot;wef&quot;); // bzw. strncat();
    b += &quot;wef&quot;;        //Sehr viel einfacher, Dank überladenen Operatoren kein Problem

    strcpy(a,&quot;la&quot;);// Zu verwenden auch bei einem anderen C-String
    b = &quot;la&quot;;      // Dank überladenen Operatoren kein Problem, es geht auch .assign(&quot;la&quot;);

    /*Auch noch andere lasten werden abgenommen, darunter auch die Suchfunktionen -
    mit C-Strings strstr,strchr,strrchr, strcspn,(memchr) ...
    In C++-Strings dank überladener Member-Funktionen mit find und rfind  */

    strchr(a,'l');//bzw. strrchr();
    b.rfind('l'); // Kann für vieles genutzt werden (zusammen mit .find();)

    //Strings kann man auch z.b. als c-Strings einer C-Funktion übergeben, mit

    b.c_str();
    b.data();
    b.copy(a,3,1);//Kopiert in C-strings

    //Dann gibts noch insert(), welches strings ineinander setzt:
    b.insert(0,a);
    //swap vertauscht die Inhalte zweier c++-Strings:
    string c(&quot;lala&quot;);
    b.swap(c);
    //append:
    b.append(&quot;lalla&quot;);//Wie strcat in C
    //erase zum löschen von bereichen, clear zum leeren, replace(ähnlich wie assign), sind alles weitere, sehr nützliche
    //Funktionen, die alles erleichtern.

    b.erase(2,4);
    b.clear();
    b.replace(0,4,a);//Ersetzt ab pos. 0 4 Zeichen mit dem C-String a
}
</code></pre>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f576.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--sunglasses"
      title=":sunglasses:"
      alt="🕶"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120888</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120888</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sun, 18 Sep 2011 16:24:38 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 16:34:16 GMT]]></title><description><![CDATA[<p>[Rewind] schrieb:</p>
<blockquote>
<p>ja schrieb:</p>
<blockquote>
<p>char ist auch nur ein Zeichen, nimm std::string, für den Anfang reicht der, auch wenn er nicht toll ist.</p>
</blockquote>
<p>Was hättest du den sonst anzubieten, was in der Anwendungsbreite von std::string besser ist?</p>
</blockquote>
<p>Wenn du etwas mehr als nur Konsole willst und auch noch im asiatischen Raum SW verkaufen willst würde ich einen Unicode fähigen String nehmen, der zum GUI Framework passt, z.b. QString.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120896</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120896</guid><dc:creator><![CDATA[ja]]></dc:creator><pubDate>Sun, 18 Sep 2011 16:34:16 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 16:57:47 GMT]]></title><description><![CDATA[<p>Dann nimm std::wstring. Gibt auch noch ein typedef für einen 32-bittigen String, dessen Name mir gerade nicht einfällt. Die C++-Leute haben an sowas schon gedacht, keine Sorge.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120906</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120906</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Sun, 18 Sep 2011 16:57:47 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 17:00:26 GMT]]></title><description><![CDATA[<p>314159265358979 schrieb:</p>
<blockquote>
<p>Dann nimm std::wstring. Gibt auch noch ein typedef für einen 32-bittigen String, dessen Name mir gerade nicht einfällt. Die C++-Leute haben an sowas schon gedacht, keine Sorge.</p>
</blockquote>
<p><code>wstring</code> löst, außer dem Problem zu wenig Speicherplatz aufgrund der gewählten Zeichenrepräsentation zu haben, gar nichts.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120908</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120908</guid><dc:creator><![CDATA[Tachyon]]></dc:creator><pubDate>Sun, 18 Sep 2011 17:00:26 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 17:04:37 GMT]]></title><description><![CDATA[<p>Von welchen Problemen ist die Rede?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120910</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120910</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Sun, 18 Sep 2011 17:04:37 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 17:11:11 GMT]]></title><description><![CDATA[<p>314159265358979 schrieb:</p>
<blockquote>
<p>Von welchen Problemen ist die Rede?</p>
</blockquote>
<p>Ic denke mal, &quot;ja&quot; meint nicht nur, dass ein <code>std::string</code> zu klein ist, Unicode zu speichern (was ja auch nicht per se der Fall ist), sondern die fehlende Unterstützung für Internationalisierung in C++ allgemein. Er will eine Stringklasse die direkt Unicode unterstützt und nicht nur genug Speicher dafür anbietet. QString kann das zum Beispiel. Ob das nun gut ist, sei mal dahingestellt. Mir persönlich kann <code>std::string</code> schon viel zu viel...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120914</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120914</guid><dc:creator><![CDATA[Tachyon]]></dc:creator><pubDate>Sun, 18 Sep 2011 17:11:11 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 17:13:04 GMT]]></title><description><![CDATA[<p>Ja, std::strin hat viel zu viele Memberfunktionen, die nicht sein müssten. Keine Ahnung, wie sowas in den Standard kommen konnte.</p>
<p>Aber Internationalisierung ist doch schon durch locales vorhanden?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120917</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120917</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Sun, 18 Sep 2011 17:13:04 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 17:17:44 GMT]]></title><description><![CDATA[<p>314159265358979 schrieb:</p>
<blockquote>
<p>Ja, std::strin hat viel zu viele Memberfunktionen, die nicht sein müssten. Keine Ahnung, wie sowas in den Standard kommen konnte.?</p>
</blockquote>
<p>Was laberst du da?<br />
Nenn' mir mal eine beliebige, deiner Meinung nach unnötige Memberfunktion von<br />
std::string !</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120923</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120923</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sun, 18 Sep 2011 17:17:44 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 17:19:04 GMT]]></title><description><![CDATA[<p>314159265358979 schrieb:</p>
<blockquote>
<p>Aber Internationalisierung ist doch schon durch locales vorhanden?</p>
</blockquote>
<p>Die Möglichkeit dafür schon, ja. In der Praxis benutzt das aber irgendwie kaum einer (ich habe es zumindest bis jetzt nie gesehen). Vielleicht habe ich Scheuklappen auf, aber die Meisten die ich kenne, und die mit Internationalisierung zu tun haben, benutzen dafür irgendwelche Frameworks. Mit C++ Bordmitteln arbeitet irgendwie keiner, weils wohl zu kompliziert ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120926</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120926</guid><dc:creator><![CDATA[Tachyon]]></dc:creator><pubDate>Sun, 18 Sep 2011 17:19:04 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 17:19:51 GMT]]></title><description><![CDATA[<p>Hacker schrieb:</p>
<blockquote>
<p>314159265358979 schrieb:</p>
<blockquote>
<p>Ja, std::strin hat viel zu viele Memberfunktionen, die nicht sein müssten. Keine Ahnung, wie sowas in den Standard kommen konnte.?</p>
</blockquote>
<p>Was laberst du da?<br />
Nenn' mir mal eine beliebige, deiner Meinung nach unnötige Memberfunktion von<br />
std::string !</p>
</blockquote>
<p>Nahezu alle, die über das, was <code>std::vector</code> anbietet hinausgehen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120927</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120927</guid><dc:creator><![CDATA[Tachyon]]></dc:creator><pubDate>Sun, 18 Sep 2011 17:19:51 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Sun, 18 Sep 2011 17:21:48 GMT]]></title><description><![CDATA[<p>Hacker schrieb:</p>
<blockquote>
<p>314159265358979 schrieb:</p>
<blockquote>
<p>Ja, std::strin hat viel zu viele Memberfunktionen, die nicht sein müssten. Keine Ahnung, wie sowas in den Standard kommen konnte.?</p>
</blockquote>
<p>Was laberst du da?<br />
Nenn' mir mal eine beliebige, deiner Meinung nach unnötige Memberfunktion von<br />
std::string !</p>
</blockquote>
<p>Ich habe mir mal erlaubt, dir Funktionen direkt aus dem Standard zu kopieren:</p>
<blockquote>
<p>size_type find (const basic_string&amp; str, size_type pos = 0) size_type find (const charT* s, size_type pos, size_type n) size_type find (const charT* s, size_type pos = 0) const; size_type find (charT c, size_type pos = 0) const noexcept; size_type rfind(const basic_string&amp; str, size_type pos = npos) const noexcept; size_type rfind(const charT* s, size_type pos, size_type n) const;<br />
size_type rfind(const charT* s, size_type pos = npos) const; size_type rfind(charT c, size_type pos = npos) const noexcept;<br />
size_type find_first_of(const basic_string&amp; str, size_type pos = 0) const noexcept;<br />
size_type find_first_of(const charT* s, size_type pos, size_type n) const;<br />
size_type find_first_of(const charT* s, size_type pos = 0) const; size_type find_first_of(charT c, size_type pos = 0) const noexcept; size_type find_last_of (const basic_string&amp; str,<br />
size_type pos = npos) const noexcept; size_type find_last_of (const charT* s,<br />
size_type pos, size_type n) const; size_type find_last_of (const charT* s, size_type pos = npos) const;<br />
size_type find_last_of (charT c, size_type pos = npos) const noexcept;<br />
size_type find_first_not_of(const basic_string&amp; str, size_type pos = 0) const noexcept;<br />
size_type find_first_not_of(const charT* s, size_type pos, size_type n) const;<br />
size_type find_first_not_of(const charT* s, size_type pos = 0) const; size_type find_first_not_of(charT c, size_type pos = 0) const noexcept; size_type find_last_not_of (const basic_string&amp; str,<br />
size_type pos = npos) const noexcept; size_type find_last_not_of (const charT* s, size_type pos,<br />
size_type n) const; size_type find_last_not_of (const charT* s,<br />
size_type pos = npos) const;</p>
</blockquote>
<p>Das ist noch lang nicht alles.</p>
<p>Und so ganz nebenbei: Hör auf mit deinen absolut trotteligen Posts. Die sind ja noch schlimmer als meine.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2120930</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2120930</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Sun, 18 Sep 2011 17:21:48 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Mon, 19 Sep 2011 09:27:59 GMT]]></title><description><![CDATA[<p>Jede dieser Funktionen könnte man irgendwann mal brauchen,<br />
keine davon ist direkt unnötig. Die Leute die diese Standards machen wissen was wieso wohin, O.K. ?</p>
<p>P.S.: Du hast mir grad 20 verschiedene anstatt nur einer einzigen Funktin vor die Nase gepackt - sind die jetzt alle unnötig ...?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2121168</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2121168</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Mon, 19 Sep 2011 09:27:59 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Mon, 19 Sep 2011 09:37:34 GMT]]></title><description><![CDATA[<p>Nein, diese Memberfunktionen sind absolut unnötig. Würdest du etwas von gutem Design verstehen, dann wüsstest du, dass Non-Member stets vorzuziehen sind.</p>
<p>Und nun halt endlich deine verdammte Fresse, du gehst mir auf die Eier!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2121171</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2121171</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Mon, 19 Sep 2011 09:37:34 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Mon, 19 Sep 2011 09:38:06 GMT]]></title><description><![CDATA[<p>Hacker schrieb:</p>
<blockquote>
<p>Jede dieser Funktionen könnte man irgendwann mal brauchen,<br />
keine davon ist direkt unnötig. Die Leute die diese Standards machen wissen was wieso wohin, O.K. ?</p>
<p>P.S.: Du hast mir grad 20 verschiedene anstatt nur einer einzigen Funktin vor die Nase gepackt - sind die jetzt alle unnötig ...?</p>
</blockquote>
<p>Erklär mal, warum das Member von String sein müssen. Das sind nämlich alles Algorithmen die man wunderbar auf beliebigen Iteratorstartendpaaren implementieren könnte.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2121172</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2121172</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 19 Sep 2011 09:38:06 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Mon, 19 Sep 2011 09:40:54 GMT]]></title><description><![CDATA[<p>Hacker schrieb:</p>
<blockquote>
<p>Die Leute die diese Standards machen wissen was wieso wohin, O.K. ?</p>
</blockquote>
<p>Nein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2121173</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2121173</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Mon, 19 Sep 2011 09:40:54 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Mon, 19 Sep 2011 09:45:19 GMT]]></title><description><![CDATA[<p>314159265358979 schrieb:</p>
<blockquote>
<p>Und nun halt endlich deine verdammte Fresse, du gehst mir auf die Eier!</p>
</blockquote>
<p>Halt dich mal zurueck. Du bist noch lange kein Oberchecker. Und beleidigen geht mal gar nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2121176</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2121176</guid><dc:creator><![CDATA[otze]]></dc:creator><pubDate>Mon, 19 Sep 2011 09:45:19 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Mon, 19 Sep 2011 09:46:33 GMT]]></title><description><![CDATA[<p>Bei sowas kann man sich nicht mehr zurückhalten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2121178</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2121178</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Mon, 19 Sep 2011 09:46:33 GMT</pubDate></item><item><title><![CDATA[Reply to Name mit char? on Mon, 19 Sep 2011 09:50:44 GMT]]></title><description><![CDATA[<p>ich offensichtlich schon. Lerne einfach durchzuatmen. Das tu ich bei dir oftmals auch.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2121180</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2121180</guid><dc:creator><![CDATA[otze]]></dc:creator><pubDate>Mon, 19 Sep 2011 09:50:44 GMT</pubDate></item></channel></rss>