<?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[Textdatei erstellen]]></title><description><![CDATA[<p>Wie kann ich eine Textdatei mit was drin erstellen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/185774/textdatei-erstellen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Apr 2026 16:13:53 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/185774.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 01 Jul 2007 09:26:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Textdatei erstellen on Sun, 01 Jul 2007 09:26:47 GMT]]></title><description><![CDATA[<p>Wie kann ich eine Textdatei mit was drin erstellen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1316014</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1316014</guid><dc:creator><![CDATA[Jakel]]></dc:creator><pubDate>Sun, 01 Jul 2007 09:26:47 GMT</pubDate></item><item><title><![CDATA[Reply to Textdatei erstellen on Sun, 01 Jul 2007 09:39:05 GMT]]></title><description><![CDATA[<p>z.B. mit <em>SaveToFile</em> bei <em>TMemo-&gt;Lines</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1316020</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1316020</guid><dc:creator><![CDATA[Grossmeister]]></dc:creator><pubDate>Sun, 01 Jul 2007 09:39:05 GMT</pubDate></item><item><title><![CDATA[Reply to Textdatei erstellen on Sun, 01 Jul 2007 10:38:06 GMT]]></title><description><![CDATA[<p>allgemein z.B.:</p>
<pre><code class="language-cpp">TStringList* list=new TStringList();
   list-&gt;Lines-&gt;Add(&quot;erste zeile mit tollem text&quot;);
   list-&gt;Lines-&gt;Add(&quot;zweite zeile&quot;);
   list-&gt;SaveToFile(&quot;datei.txt&quot;);
delete list;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1316063</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1316063</guid><dc:creator><![CDATA[carstenbauer]]></dc:creator><pubDate>Sun, 01 Jul 2007 10:38:06 GMT</pubDate></item><item><title><![CDATA[Reply to Textdatei erstellen on Sun, 01 Jul 2007 11:46:52 GMT]]></title><description><![CDATA[<p>Muss man nicht zuerst das hier machen?</p>
<pre><code class="language-cpp">CreateFile(&quot;Datei.txt&quot;,0,0,0,CREATE_NEW,0,0);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1316081</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1316081</guid><dc:creator><![CDATA[Tobi3000]]></dc:creator><pubDate>Sun, 01 Jul 2007 11:46:52 GMT</pubDate></item><item><title><![CDATA[Reply to Textdatei erstellen on Sun, 01 Jul 2007 11:52:41 GMT]]></title><description><![CDATA[<p>Tobi3000 schrieb:</p>
<blockquote>
<p>Muss man nicht zuerst das hier machen?</p>
<pre><code class="language-cpp">CreateFile(&quot;Datei.txt&quot;,0,0,0,CREATE_NEW,0,0);
</code></pre>
</blockquote>
<p>Nein</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1316083</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1316083</guid><dc:creator><![CDATA[OldMan00]]></dc:creator><pubDate>Sun, 01 Jul 2007 11:52:41 GMT</pubDate></item><item><title><![CDATA[Reply to Textdatei erstellen on Mon, 02 Jul 2007 07:37:29 GMT]]></title><description><![CDATA[<p>Hier noch die Standard-C++ Variante</p>
<pre><code class="language-cpp">std::ofstream out(&quot;datei.txt&quot;);
out &lt;&lt; &quot;erste zeile mit tollem text\n&quot;;
out &lt;&lt; &quot;zweite zeile\n&quot;;
out.close(); //Muß nicht unbedingt sein, wird beim Verlassen des Scopes automatisch gemacht
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1316595</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1316595</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Mon, 02 Jul 2007 07:37:29 GMT</pubDate></item></channel></rss>