<?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[Datei aufteilen in 2 Teile]]></title><description><![CDATA[<p>Welche Möglichkeiten bietet mir C++ / WinAPI, um eine Datei<br />
in mehrere kleinere Dateien aufzuteilen?<br />
Wie könnte ich sowas programmiertechnisch angehen? Gibt es<br />
dafür vlt sogar schon Klassen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/126636/datei-aufteilen-in-2-teile</link><generator>RSS for Node</generator><lastBuildDate>Tue, 07 Jul 2026 20:19:58 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/126636.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 Nov 2005 21:20:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Datei aufteilen in 2 Teile on Wed, 16 Nov 2005 21:20:38 GMT]]></title><description><![CDATA[<p>Welche Möglichkeiten bietet mir C++ / WinAPI, um eine Datei<br />
in mehrere kleinere Dateien aufzuteilen?<br />
Wie könnte ich sowas programmiertechnisch angehen? Gibt es<br />
dafür vlt sogar schon Klassen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/919578</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/919578</guid><dc:creator><![CDATA[Actron]]></dc:creator><pubDate>Wed, 16 Nov 2005 21:20:38 GMT</pubDate></item><item><title><![CDATA[Reply to Datei aufteilen in 2 Teile on Wed, 16 Nov 2005 21:31:39 GMT]]></title><description><![CDATA[<p>Das ist doch wohl wirklich trivial.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/919586</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/919586</guid><dc:creator><![CDATA[seek]]></dc:creator><pubDate>Wed, 16 Nov 2005 21:31:39 GMT</pubDate></item><item><title><![CDATA[Reply to Datei aufteilen in 2 Teile on Thu, 17 Nov 2005 05:43:15 GMT]]></title><description><![CDATA[<p>Womit ich kein Stück weiter wäre <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/919667</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/919667</guid><dc:creator><![CDATA[Actron]]></dc:creator><pubDate>Thu, 17 Nov 2005 05:43:15 GMT</pubDate></item><item><title><![CDATA[Reply to Datei aufteilen in 2 Teile on Thu, 17 Nov 2005 06:19:16 GMT]]></title><description><![CDATA[<p>Das kommt darauf an, ob die Datei einfach nur getrennt werden soll (einfach) oder die Datei z.B. noch ausführbar sein soll (keine Ahnung, ob und wenn ja wie das geht).</p>
<p>Falls du ersteres willst, so kannst du die Datei doch einfach z.B. mit CreateFile öffnen und dann in einer Schleife noch eine zweite Datei anlegen/öffnen, in die du dann Blöcke entsprechender Größe hineinschreibst <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":-)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/919671</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/919671</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Thu, 17 Nov 2005 06:19:16 GMT</pubDate></item><item><title><![CDATA[Reply to Datei aufteilen in 2 Teile on Fri, 18 Nov 2005 16:32:49 GMT]]></title><description><![CDATA[<p>Was Du brauchst ist:<br />
CreateFile: <a href="http://msdn.microsoft.com/library/en-us/fileio/fs/createfile.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/fileio/fs/createfile.asp</a><br />
Zum Lesen mit OPEN_EXISTING und GENERIC_READ<br />
Zum Schreiben mit CREATE_ALWAYS und GENERIC_WRITE</p>
<p>Und dann noch entsprechend:<br />
ReadFile: <a href="http://msdn.microsoft.com/library/en-us/fileio/fs/readfile.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/fileio/fs/readfile.asp</a><br />
bzw.<br />
WriteFile: <a href="http://msdn.microsoft.com/library/en-us/fileio/fs/writefile.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/fileio/fs/writefile.asp</a></p>
<p>Und schliessen dann wieder mit CloseHandle: <a href="http://msdn.microsoft.com/library/en-us/sysinfo/base/closehandle.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/sysinfo/base/closehandle.asp</a></p>
<p>Du kannst natürlich auch die MFC verwenden und dort CFile-Klasse: <a href="http://msdn.microsoft.com/library/en-us/vclib/html/_MFC_CFile.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/vclib/html/_MFC_CFile.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/920793</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/920793</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Fri, 18 Nov 2005 16:32:49 GMT</pubDate></item></channel></rss>