<?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[C++ Aufgabe]]></title><description><![CDATA[<p>Hallo<br />
komm mit der Aufgabe nicht weiter.<br />
kann mir vielleicht einer helfen</p>
<p>Programm, das ein String mit Inhalt(Text beliebig) deklariert.<br />
Danach soll das Programm die Anzahl der Buchstaben a e i o u zählen.</p>
<p>marco</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/202012/c-aufgabe</link><generator>RSS for Node</generator><lastBuildDate>Tue, 06 Oct 2026 12:12:25 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/202012.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 06 Jan 2008 16:34:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to C++ Aufgabe on Sun, 06 Jan 2008 16:34:38 GMT]]></title><description><![CDATA[<p>Hallo<br />
komm mit der Aufgabe nicht weiter.<br />
kann mir vielleicht einer helfen</p>
<p>Programm, das ein String mit Inhalt(Text beliebig) deklariert.<br />
Danach soll das Programm die Anzahl der Buchstaben a e i o u zählen.</p>
<p>marco</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431917</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431917</guid><dc:creator><![CDATA[marco916]]></dc:creator><pubDate>Sun, 06 Jan 2008 16:34:38 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Aufgabe on Sun, 06 Jan 2008 16:43:50 GMT]]></title><description><![CDATA[<p>Die Buchstaben nennt man auch Vokale <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 />
Die Anzahl jedes einzellnen Buchstabens?</p>
<pre><code class="language-cpp">const std::string str(&quot;Mein Test String&quot;);
std::size_t count_vowel[5]; /* a = 0, e = 1, i = 2, o = 3, u = 4 */
std::fill(count_vowel, count_vowel + 5, 0);

for (std::string::const_iterator(str.begin()); it != str.end(); ++it)
{
    switch (*it)
    {
        case 'a': ++count_vowel[0]; break;
        case 'e': ++count_vowel[1]; break;
        case 'i': ++count_vowel[2]; break;
        case 'o': ++count_vowel[3]; break;
        case 'u': ++count_vowel[4]; break;
    }
}
</code></pre>
<p>...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431921</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431921</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Sun, 06 Jan 2008 16:43:50 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Aufgabe on Sun, 06 Jan 2008 16:45:05 GMT]]></title><description><![CDATA[<p>super danke<br />
das mit den buchstaben war mein Prof...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431922</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431922</guid><dc:creator><![CDATA[marco916]]></dc:creator><pubDate>Sun, 06 Jan 2008 16:45:05 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Aufgabe on Sun, 06 Jan 2008 16:50:32 GMT]]></title><description><![CDATA[<p>du machst auch für jeden die hausaufgabe <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431928</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431928</guid><dc:creator><![CDATA[@da evil]]></dc:creator><pubDate>Sun, 06 Jan 2008 16:50:32 GMT</pubDate></item></channel></rss>