<?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[schleife]]></title><description><![CDATA[<p>Hi,<br />
Ich wollte eine Datei lesen bis zu Ende.<br />
so funktioniert schon aber die Schleife geht nicht zu ende,<br />
Wer kann mir bitte dabei helfen, dass die Schleife in Ordnung bringt.</p>
<p>Vielen Dank</p>
<p>pFile=(CHttpFile*)session.OpenURL(oldurl,0,INTERNET_FLAG_TRANSFER_BINARY|INTERNET_FLAG_KEEP_CONNECTION|INTERNET_FLAG_NO_AUTO_REDIRECT|INTERNET_FLAG_RELOAD);</p>
<p>UINT BUFFERSIZE = pFile-&gt;GetLength();<br />
char* buffer = new char[BUFFERSIZE];<br />
char* dest = new char[BUFFERSIZE];</p>
<p>// read file<br />
while(BUFFERSIZE!=0){<br />
nBytesRead = pFile-&gt;Read(buffer,BUFFERSIZE-1);<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/6246/schleife</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 06:24:00 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/6246.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Jun 2003 15:26:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to schleife on Wed, 18 Jun 2003 15:26:00 GMT]]></title><description><![CDATA[<p>Hi,<br />
Ich wollte eine Datei lesen bis zu Ende.<br />
so funktioniert schon aber die Schleife geht nicht zu ende,<br />
Wer kann mir bitte dabei helfen, dass die Schleife in Ordnung bringt.</p>
<p>Vielen Dank</p>
<p>pFile=(CHttpFile*)session.OpenURL(oldurl,0,INTERNET_FLAG_TRANSFER_BINARY|INTERNET_FLAG_KEEP_CONNECTION|INTERNET_FLAG_NO_AUTO_REDIRECT|INTERNET_FLAG_RELOAD);</p>
<p>UINT BUFFERSIZE = pFile-&gt;GetLength();<br />
char* buffer = new char[BUFFERSIZE];<br />
char* dest = new char[BUFFERSIZE];</p>
<p>// read file<br />
while(BUFFERSIZE!=0){<br />
nBytesRead = pFile-&gt;Read(buffer,BUFFERSIZE-1);<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/30330</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/30330</guid><dc:creator><![CDATA[wichtig]]></dc:creator><pubDate>Wed, 18 Jun 2003 15:26:00 GMT</pubDate></item><item><title><![CDATA[Reply to schleife on Wed, 18 Jun 2003 15:36:00 GMT]]></title><description><![CDATA[<p>*deleted**</p>
<p>[ Dieser Beitrag wurde am 18.06.2003 um 17:42 Uhr von <strong>Necromancer</strong> editiert. ]</p>
]]></description><link>https://www.c-plusplus.net/forum/post/30331</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/30331</guid><dc:creator><![CDATA[Necromancer]]></dc:creator><pubDate>Wed, 18 Jun 2003 15:36:00 GMT</pubDate></item><item><title><![CDATA[Reply to schleife on Thu, 19 Jun 2003 11:58:00 GMT]]></title><description><![CDATA[<p>Hi..</p>
<p>Versuch mal das...</p>
<pre><code class="language-cpp">// read file
....
nBytesRead = pFile-&gt;Read(buffer,pFile-&gt;GetLength());
....
</code></pre>
<p>bis denne<br />
buffersize</p>
]]></description><link>https://www.c-plusplus.net/forum/post/30332</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/30332</guid><dc:creator><![CDATA[buffersize]]></dc:creator><pubDate>Thu, 19 Jun 2003 11:58:00 GMT</pubDate></item></channel></rss>