<?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[Inhalt einer .txt Datei in einen String schreiben]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe in meiem C++ Programm ein Edit Feld, das ich durch klick auf einen Button mit dem Inhalt einer Test.txt Datei beschreiben will.</p>
<p>Mein Problem ist nun, wie bekomme ich den Text aus einer .txt Datei in einen String, so das ich den String dann in das Edit Feld übertragen kann??</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/164223/inhalt-einer-txt-datei-in-einen-string-schreiben</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 07:38:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/164223.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Nov 2006 11:03:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Inhalt einer .txt Datei in einen String schreiben on Mon, 06 Nov 2006 11:03:03 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe in meiem C++ Programm ein Edit Feld, das ich durch klick auf einen Button mit dem Inhalt einer Test.txt Datei beschreiben will.</p>
<p>Mein Problem ist nun, wie bekomme ich den Text aus einer .txt Datei in einen String, so das ich den String dann in das Edit Feld übertragen kann??</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1169501</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1169501</guid><dc:creator><![CDATA[MarkusPannberg]]></dc:creator><pubDate>Mon, 06 Nov 2006 11:03:03 GMT</pubDate></item><item><title><![CDATA[Reply to Inhalt einer .txt Datei in einen String schreiben on Mon, 06 Nov 2006 11:11:07 GMT]]></title><description><![CDATA[<p>schau dir dochmal TStringList an!<br />
besonders die Methode <em>LoadFromFile</em> und die eigenschaft <em>Strings</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1169504</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1169504</guid><dc:creator><![CDATA[ser1al]]></dc:creator><pubDate>Mon, 06 Nov 2006 11:11:07 GMT</pubDate></item><item><title><![CDATA[Reply to Inhalt einer .txt Datei in einen String schreiben on Mon, 06 Nov 2006 11:16:40 GMT]]></title><description><![CDATA[<p>Das habe ich schon, und so schreibe ich auch meine Werte in die txt Datei, nur mit dem Auslesen komme ich noch nicht so ganz klar.</p>
<p>Hier mein Quelltext</p>
<pre><code class="language-cpp">TStringList *list = new TStringList();
list-&gt;LoadFromFile(&quot;c:\\Test.txt&quot;);
Edit1-&gt;Text=list;
delete list;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1169506</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1169506</guid><dc:creator><![CDATA[MarkusPannberg]]></dc:creator><pubDate>Mon, 06 Nov 2006 11:16:40 GMT</pubDate></item><item><title><![CDATA[Reply to Inhalt einer .txt Datei in einen String schreiben on Mon, 06 Nov 2006 11:20:34 GMT]]></title><description><![CDATA[<p>wie gesagt, schau dir mal <em>Strings</em> an!</p>
<pre><code class="language-cpp">list-&gt;Strings[1];
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1169508</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1169508</guid><dc:creator><![CDATA[ser1al]]></dc:creator><pubDate>Mon, 06 Nov 2006 11:20:34 GMT</pubDate></item></channel></rss>