<?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[Fstream&#x2F;Ifstream &amp;lt;- shell input]]></title><description><![CDATA[<p>Hallo,</p>
<ol>
<li>wie kann ich denn ein argument aus der shell in einen fstream einlesen?<br />
ich versuche das so:</li>
</ol>
<pre><code class="language-cpp">std::fstream mf;
mf &lt;&lt; argv[1];
</code></pre>
<ol start="2">
<li>was ist der unterschied zwischen ifstream und fstream?</li>
</ol>
<p>danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/239992/fstream-ifstream-lt-shell-input</link><generator>RSS for Node</generator><lastBuildDate>Tue, 22 Sep 2026 05:03:09 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/239992.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Apr 2009 11:05:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fstream&#x2F;Ifstream &amp;lt;- shell input on Thu, 30 Apr 2009 11:05:47 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<ol>
<li>wie kann ich denn ein argument aus der shell in einen fstream einlesen?<br />
ich versuche das so:</li>
</ol>
<pre><code class="language-cpp">std::fstream mf;
mf &lt;&lt; argv[1];
</code></pre>
<ol start="2">
<li>was ist der unterschied zwischen ifstream und fstream?</li>
</ol>
<p>danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1703568</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1703568</guid><dc:creator><![CDATA[Neuling1]]></dc:creator><pubDate>Thu, 30 Apr 2009 11:05:47 GMT</pubDate></item><item><title><![CDATA[Reply to Fstream&#x2F;Ifstream &amp;lt;- shell input on Sat, 02 May 2009 12:42:43 GMT]]></title><description><![CDATA[<p>Dafür nimmst du einen <a href="http://www.cppreference.com/wiki/io/sstream/start" rel="nofollow">stringstream</a>.</p>
<p>Der Unterschied ist: <code>ifstream</code> kann nur lesen. <code>fstream</code> kann lesen und schreiben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1704422</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1704422</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sat, 02 May 2009 12:42:43 GMT</pubDate></item></channel></rss>