<?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[Umlaute ersetzen...]]></title><description><![CDATA[<p>Hallo!<br />
Folgendes Problem.<br />
Eine beliebige Datei öffen, einlesen, Umlaute ersetzen und dann in einer anderen Datei speichern.</p>
<p>Hier mal der code...</p>
<pre><code class="language-cpp"># include &lt;iostream&gt;
# include &lt;conio.h&gt;
# include &lt;fstream&gt;

using namespace std;

int main ()
{
   char datei[256];
   char ziel[256];
   cout&lt;&lt;&quot;Welche Datei soll veraendert werden?: &quot;;
   cin&gt;&gt;datei;
   cout&lt;&lt;&quot;Wohin soll die veraenderte Datei gespeichert werden?: &quot;;
   cin&gt;&gt;ziel;
   int i = 1;

   ifstream infile;
   ofstream outfile;
   infile.open (datei, ios::in);
   outfile.open (ziel, ios::out);
   while(infile.getline(datei,256))
   {
         if (datei == &quot;ä&quot;)
         {
                  datei.replace (&quot;ae&quot;);
         }
         outfile&lt;&lt;datei;
   }

   infile.close ();
   outfile.close ();

   system(&quot;PAUSE&quot;);
   return (0);
}
</code></pre>
<p>Komme nicht drauf wie es gehen soll...</p>
<p>LG<br />
Jasmin</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/225320/umlaute-ersetzen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 01 Oct 2026 14:28:17 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/225320.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Oct 2008 08:28:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Umlaute ersetzen... on Wed, 22 Oct 2008 08:28:23 GMT]]></title><description><![CDATA[<p>Hallo!<br />
Folgendes Problem.<br />
Eine beliebige Datei öffen, einlesen, Umlaute ersetzen und dann in einer anderen Datei speichern.</p>
<p>Hier mal der code...</p>
<pre><code class="language-cpp"># include &lt;iostream&gt;
# include &lt;conio.h&gt;
# include &lt;fstream&gt;

using namespace std;

int main ()
{
   char datei[256];
   char ziel[256];
   cout&lt;&lt;&quot;Welche Datei soll veraendert werden?: &quot;;
   cin&gt;&gt;datei;
   cout&lt;&lt;&quot;Wohin soll die veraenderte Datei gespeichert werden?: &quot;;
   cin&gt;&gt;ziel;
   int i = 1;

   ifstream infile;
   ofstream outfile;
   infile.open (datei, ios::in);
   outfile.open (ziel, ios::out);
   while(infile.getline(datei,256))
   {
         if (datei == &quot;ä&quot;)
         {
                  datei.replace (&quot;ae&quot;);
         }
         outfile&lt;&lt;datei;
   }

   infile.close ();
   outfile.close ();

   system(&quot;PAUSE&quot;);
   return (0);
}
</code></pre>
<p>Komme nicht drauf wie es gehen soll...</p>
<p>LG<br />
Jasmin</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1602655</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1602655</guid><dc:creator><![CDATA[Dhakiyah]]></dc:creator><pubDate>Wed, 22 Oct 2008 08:28:23 GMT</pubDate></item><item><title><![CDATA[Reply to Umlaute ersetzen... on Wed, 22 Oct 2008 08:29:52 GMT]]></title><description><![CDATA[<p>Wenn du schon in C++ schreibst, dann nutze auch std::string und nicht char.</p>
<p>Ersetzen kannst du deine Umlaute mit std::string::find_first_of und std::string::replace.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1602657</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1602657</guid><dc:creator><![CDATA[cpp!]]></dc:creator><pubDate>Wed, 22 Oct 2008 08:29:52 GMT</pubDate></item><item><title><![CDATA[Reply to Umlaute ersetzen... on Wed, 22 Oct 2008 08:35:15 GMT]]></title><description><![CDATA[<p>HÄ???</p>
<p>Sorry, bin absoluter Anfänger...</p>
<p>LG<br />
Jasmin</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1602664</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1602664</guid><dc:creator><![CDATA[Dhakiyah]]></dc:creator><pubDate>Wed, 22 Oct 2008 08:35:15 GMT</pubDate></item><item><title><![CDATA[Reply to Umlaute ersetzen... on Wed, 22 Oct 2008 08:40:03 GMT]]></title><description><![CDATA[<p>Dhakiyah schrieb:</p>
<blockquote>
<p>HÄ???</p>
<p>Sorry, bin absoluter Anfänger...</p>
<p>LG<br />
Jasmin</p>
</blockquote>
<p>Dann kannst du mal diese Seite anschauen:<br />
<a href="http://www.cplusplus.com/reference/algorithm/" rel="nofollow">http://www.cplusplus.com/reference/algorithm/</a></p>
<p>Das ist eine gute (aber nicht vollständige) Referenz zu der Standardbibliothek. Da findest du eigentlich alles, was mit STL zu tun hat. (Algorithmen, Container usw. )</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1602672</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1602672</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Wed, 22 Oct 2008 08:40:03 GMT</pubDate></item></channel></rss>