<?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[Mehrere eingabe]]></title><description><![CDATA[<p>Seit gegrüßt!</p>
<p>So weit bin ich schon aber nun soll das Programm mehrere Vokabeln hintereinander einlesen können die Schleife sollte dann mit ein break beenden werden ...</p>
<pre><code>if (deutsch,englisch == &quot;&quot;)break;
</code></pre>
<p>da weiß ich nicht mehr weiter hoffe einer von euch kann mir helfen</p>
<pre><code>#include &quot;stdafx.h&quot;
#include &lt;iostream&gt;
#include &lt;fstream&gt;
#include &lt;fstream&gt;
#include &lt;string&gt;

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{

	ofstream auslesen;
	string deutsch, englisch, ausstring;
	auslesen.open(&quot;Vokabeln.txt&quot;, ios::app);

	if (!auslesen)
	{
		cout &lt;&lt; &quot;Fehler beim Oeffnen der Datei&quot;;
	}
	else 
	{
		cout &lt;&lt; &quot;Bitte geben Sie eine deutsche Vokabel ein:&quot;;
		cin &gt;&gt; deutsch;
		cout &lt;&lt; &quot;Bitte geben Sie eine englische Vokabel ein:&quot;;
		cin &gt;&gt; englisch;
		ausstring = deutsch + &quot;\t\t&quot; + englisch + &quot;\n&quot;;
		auslesen &lt;&lt; ausstring;
		auslesen.close();

	}

	return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/322012/mehrere-eingabe</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 13:53:11 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/322012.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Dec 2013 11:20:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mehrere eingabe on Tue, 03 Dec 2013 11:21:33 GMT]]></title><description><![CDATA[<p>Seit gegrüßt!</p>
<p>So weit bin ich schon aber nun soll das Programm mehrere Vokabeln hintereinander einlesen können die Schleife sollte dann mit ein break beenden werden ...</p>
<pre><code>if (deutsch,englisch == &quot;&quot;)break;
</code></pre>
<p>da weiß ich nicht mehr weiter hoffe einer von euch kann mir helfen</p>
<pre><code>#include &quot;stdafx.h&quot;
#include &lt;iostream&gt;
#include &lt;fstream&gt;
#include &lt;fstream&gt;
#include &lt;string&gt;

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{

	ofstream auslesen;
	string deutsch, englisch, ausstring;
	auslesen.open(&quot;Vokabeln.txt&quot;, ios::app);

	if (!auslesen)
	{
		cout &lt;&lt; &quot;Fehler beim Oeffnen der Datei&quot;;
	}
	else 
	{
		cout &lt;&lt; &quot;Bitte geben Sie eine deutsche Vokabel ein:&quot;;
		cin &gt;&gt; deutsch;
		cout &lt;&lt; &quot;Bitte geben Sie eine englische Vokabel ein:&quot;;
		cin &gt;&gt; englisch;
		ausstring = deutsch + &quot;\t\t&quot; + englisch + &quot;\n&quot;;
		auslesen &lt;&lt; ausstring;
		auslesen.close();

	}

	return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2369518</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2369518</guid><dc:creator><![CDATA[fR4NkY1]]></dc:creator><pubDate>Tue, 03 Dec 2013 11:21:33 GMT</pubDate></item><item><title><![CDATA[Reply to Mehrere eingabe on Tue, 03 Dec 2013 11:26:42 GMT]]></title><description><![CDATA[<p>Üblicherweise sehen Leseschleifen aller Art in C++ so oder vergleichbar aus:</p>
<pre><code>while (leseaktion) verarbeite;
</code></pre>
<p>Hier also vermutlich etwas in der Art</p>
<pre><code>while (cin &gt;&gt; deutsch &gt;&gt; englisch)
{
  // Do stuff
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2369519</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2369519</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Tue, 03 Dec 2013 11:26:42 GMT</pubDate></item></channel></rss>