<?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[Zeilenweise auslesen einer Datei]]></title><description><![CDATA[<p>Ich möchte eine Datei zeilenweise auslesen und alles in einer Variablen hintereinander speichern. Ich stehe komplett auf dem Schlauch und weis nicht was ich in die while -Schleife schreiben soll.</p>
<pre><code class="language-cpp">CStdioFile myFile(m_sFilePath, CFile::modeRead);
        CString str;
        CString strTemp;

        while(myFile.ReadString(str))
        {

        }
        myFile.Close();

        m_strOutputDatei= str;
        UpdateData(FALSE);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/5691/zeilenweise-auslesen-einer-datei</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 10:07:10 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/5691.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 May 2003 06:17:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Zeilenweise auslesen einer Datei on Wed, 07 May 2003 06:17:00 GMT]]></title><description><![CDATA[<p>Ich möchte eine Datei zeilenweise auslesen und alles in einer Variablen hintereinander speichern. Ich stehe komplett auf dem Schlauch und weis nicht was ich in die while -Schleife schreiben soll.</p>
<pre><code class="language-cpp">CStdioFile myFile(m_sFilePath, CFile::modeRead);
        CString str;
        CString strTemp;

        while(myFile.ReadString(str))
        {

        }
        myFile.Close();

        m_strOutputDatei= str;
        UpdateData(FALSE);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/27681</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27681</guid><dc:creator><![CDATA[Newbie]]></dc:creator><pubDate>Wed, 07 May 2003 06:17:00 GMT</pubDate></item><item><title><![CDATA[Reply to Zeilenweise auslesen einer Datei on Wed, 07 May 2003 06:26:00 GMT]]></title><description><![CDATA[<p>FAQ<br />
suche helfen bei sowas immer.<br />
Und C++ Kenntnisse sowieso...</p>
<p>m_Outputstr += str;</p>
<p>Devil</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27682</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27682</guid><dc:creator><![CDATA[phlox81]]></dc:creator><pubDate>Wed, 07 May 2003 06:26:00 GMT</pubDate></item></channel></rss>