<?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[Problem mit I&#x2F;O-Stream]]></title><description><![CDATA[<p>Hallo, ich würde gerne drei werte(zahl der Benutzer, Benutzernamen und Passwort) in drei Dateien speichern und dann, bei der Eingabe von Benutzername und Kennwort, wieder abfragen. Aber ich hab keine Ahnung, wie das abfragen funktioniert...<br />
Wie man in eine Datei schreibt, weiß ich, aber wie man daraus liest, weiß ich nicht.</p>
<p>lg,<br />
vielesysteme</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/261766/problem-mit-i-o-stream</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 02:47:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/261766.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Feb 2010 15:15:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem mit I&#x2F;O-Stream on Tue, 23 Feb 2010 15:18:42 GMT]]></title><description><![CDATA[<p>Hallo, ich würde gerne drei werte(zahl der Benutzer, Benutzernamen und Passwort) in drei Dateien speichern und dann, bei der Eingabe von Benutzername und Kennwort, wieder abfragen. Aber ich hab keine Ahnung, wie das abfragen funktioniert...<br />
Wie man in eine Datei schreibt, weiß ich, aber wie man daraus liest, weiß ich nicht.</p>
<p>lg,<br />
vielesysteme</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1860122</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1860122</guid><dc:creator><![CDATA[vielesysteme]]></dc:creator><pubDate>Tue, 23 Feb 2010 15:18:42 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit I&#x2F;O-Stream on Tue, 23 Feb 2010 15:21:00 GMT]]></title><description><![CDATA[<p>Du machst aus dem <code>&lt;&lt;</code> ein <code>&gt;&gt;</code> .</p>
<p>Mal im Ernst: Was für eine Art von Antwort erwartest du auf diese Frage?</p>
<p>Hier eine Suchmaschine:<br />
<a href="http://www.google.com" rel="nofollow">www.google.com</a></p>
<p>Hier ein C++ Referenz:<br />
<a href="http://www.cplusplus.com" rel="nofollow">www.cplusplus.com</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1860126</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1860126</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Tue, 23 Feb 2010 15:21:00 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit I&#x2F;O-Stream on Tue, 23 Feb 2010 15:44:27 GMT]]></title><description><![CDATA[<p>Hey erst ma,</p>
<p>also du benutzt anstatt eines ofstream Objektes ein ifstream Objekt<br />
<a href="http://www.cplusplus.com/reference/iostream/ifstream/" rel="nofollow">http://www.cplusplus.com/reference/iostream/ifstream/</a></p>
<p>Ich weiß ja nicht wie du C++ lernst, wenn du es aber richtig machst, also mit nem Buch z.B. und da wurde erklärt wie man vom Programm in Dateien schreibt, wird normal auch das Gegenteil, also das was du suchst, erklärt;-)</p>
<p>Gruß freeG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1860144</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1860144</guid><dc:creator><![CDATA[fr33g]]></dc:creator><pubDate>Tue, 23 Feb 2010 15:44:27 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit I&#x2F;O-Stream on Tue, 23 Feb 2010 16:29:21 GMT]]></title><description><![CDATA[<p>Tja, das ist ja dass Problem...<br />
Ich will Zeichen aus einer Datei lesen und sie dann in strings speichern.<br />
Mein Buch beschreibt dass auch, aber nur anhand von Beispielen, die ich nicht verstehe...</p>
<p>naja, ofstream verwende ich so:<br />
[cpp]<br />
#include &lt;fstream&gt;<br />
using namespace std;</p>
<p>int main(int NnumberofArgs, char* pszArgs[])<br />
{<br />
ofstream my(&quot;Eine Datei.txt&quot;);<br />
my &lt;&lt; &quot;Inhalt hier...&quot;</p>
<p>system(&quot;Pause&quot;);<br />
return 0;<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1860160</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1860160</guid><dc:creator><![CDATA[vielesysteme]]></dc:creator><pubDate>Tue, 23 Feb 2010 16:29:21 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit I&#x2F;O-Stream on Tue, 23 Feb 2010 16:25:33 GMT]]></title><description><![CDATA[<p>SeppJ schrieb:</p>
<blockquote>
<p>Hier eine Suchmaschine:<br />
<a href="http://www.google.com" rel="nofollow">www.google.com</a></p>
<p>Hier ein C++ Referenz:<br />
<a href="http://www.cplusplus.com" rel="nofollow">www.cplusplus.com</a></p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1860162</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1860162</guid><dc:creator><![CDATA[Kóyaánasqatsi]]></dc:creator><pubDate>Tue, 23 Feb 2010 16:25:33 GMT</pubDate></item></channel></rss>