<?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[ofstream mit StringPfad öffnen]]></title><description><![CDATA[<p>Hi,</p>
<p>hab folgendes Problem:</p>
<p>Ich will einen Stream öffen.</p>
<pre><code>ofstream ofs;
ofs.open(source, ios::app);
</code></pre>
<p>Jetzt hab ich nur folgendes Problem...<br />
Ich hab die Variable &quot;source&quot; als &quot;string source; &quot; vorliegen und nicht als char... wie kann ich das lösen, denn die chardefinition muß ja ne feste länge haben?!? Blick da grade nicht so wirklich durch...hilfe!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/161636/ofstream-mit-stringpfad-öffnen</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 22:00:07 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/161636.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 08 Oct 2006 22:23:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ofstream mit StringPfad öffnen on Sun, 08 Oct 2006 22:23:13 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>hab folgendes Problem:</p>
<p>Ich will einen Stream öffen.</p>
<pre><code>ofstream ofs;
ofs.open(source, ios::app);
</code></pre>
<p>Jetzt hab ich nur folgendes Problem...<br />
Ich hab die Variable &quot;source&quot; als &quot;string source; &quot; vorliegen und nicht als char... wie kann ich das lösen, denn die chardefinition muß ja ne feste länge haben?!? Blick da grade nicht so wirklich durch...hilfe!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1151713</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1151713</guid><dc:creator><![CDATA[TsPaddy]]></dc:creator><pubDate>Sun, 08 Oct 2006 22:23:13 GMT</pubDate></item><item><title><![CDATA[Reply to ofstream mit StringPfad öffnen on Mon, 09 Oct 2006 04:35:05 GMT]]></title><description><![CDATA[<p>source.c_str()</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1151736</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1151736</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Mon, 09 Oct 2006 04:35:05 GMT</pubDate></item></channel></rss>