<?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[char und cin]]></title><description><![CDATA[<p>hallo</p>
<p>ich habe ein problem und leider weiss ich nicht ganz w dieses liegt<br />
hier ist der Code wo das problem sein sollte:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;

using namespace std;

int main: (void)

{
    char t;
    cin &gt;&gt;t;
    char i;
    cin &gt;&gt;i;
    char m;
    cin &gt;&gt;m;
    char o;
    cin &gt;&gt;o;
    cout &lt;&lt;t,i,m,o;
    return 0;
}
</code></pre>
<p>thx im vorheraus</p>
<p>mfg PCfreak</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/135965/char-und-cin</link><generator>RSS for Node</generator><lastBuildDate>Sat, 29 Aug 2026 07:22:12 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/135965.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Feb 2006 13:49:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 13:49:57 GMT]]></title><description><![CDATA[<p>hallo</p>
<p>ich habe ein problem und leider weiss ich nicht ganz w dieses liegt<br />
hier ist der Code wo das problem sein sollte:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;

using namespace std;

int main: (void)

{
    char t;
    cin &gt;&gt;t;
    char i;
    cin &gt;&gt;i;
    char m;
    cin &gt;&gt;m;
    char o;
    cin &gt;&gt;o;
    cout &lt;&lt;t,i,m,o;
    return 0;
}
</code></pre>
<p>thx im vorheraus</p>
<p>mfg PCfreak</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987428</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987428</guid><dc:creator><![CDATA[PCfreak]]></dc:creator><pubDate>Mon, 06 Feb 2006 13:49:57 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 13:52:01 GMT]]></title><description><![CDATA[<p>Erstmal ist da hinter dem main() ein Doppelpunkt zu viel.</p>
<p>Und zweitens schau dir mal in einem schlauen Buch an, was der Komma-Operator macht. Um mehrere Zeichen hintereinander auszugeben, brauchst du</p>
<pre><code class="language-cpp">cou&lt;&lt;t&lt;&lt;i&lt;&lt;m&lt;&lt;o;
</code></pre>
<p>PS: Was soll das Programm eigentlich machen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987431</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987431</guid><dc:creator><![CDATA[CStoll (off)]]></dc:creator><pubDate>Mon, 06 Feb 2006 13:52:01 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 13:55:40 GMT]]></title><description><![CDATA[<p>es soll machen wenn ich meinen namen eingebe das, ihn das programm nochmals ausgibt</p>
<p>mfg PCfreak</p>
<p>PS: wenn ich den doppelpunkt weglasse und auch unten bei &quot;cout&quot; es verkürze kommt es genau gleich heraus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987440</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987440</guid><dc:creator><![CDATA[PCfreak]]></dc:creator><pubDate>Mon, 06 Feb 2006 13:55:40 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 13:57:48 GMT]]></title><description><![CDATA[<p>In dem Fall hast du ganz klar den falschen Ansatz - aktuell liest das Programm 4 beliebige Zeichen ein und gibt sie hintereinanderweg wieder aus.</p>
<p>(wenn... mußt du mit einer if()-Abfrage lösen)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987443</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987443</guid><dc:creator><![CDATA[CStoll (off)]]></dc:creator><pubDate>Mon, 06 Feb 2006 13:57:48 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 14:00:07 GMT]]></title><description><![CDATA[<p>aber es könnte doch auch gehen<br />
den so wie ich es machen möchte gibt er eifach die buchstaben aus und das sollte dan doch auch funktionieren<br />
ich arbeite eben noch nicht so lange mit C++ und mein tutorial gibt mir diese aufgabe darum muss ich es so machen</p>
<p>mfg PCfreak</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987450</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987450</guid><dc:creator><![CDATA[PCfreak]]></dc:creator><pubDate>Mon, 06 Feb 2006 14:00:07 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 14:26:19 GMT]]></title><description><![CDATA[<p>PCfreak schrieb:</p>
<blockquote>
<p>den so wie ich es machen möchte gibt er eifach die buchstaben aus und das sollte dan doch auch funktionieren</p>
</blockquote>
<p>Genau das erwarte ich auch von dem obigen Quelltext - daß er das ausgibt, was reingekommen ist.</p>
<p>Wenn du jetzt vergleichen willst, ob ein bestimmter Wert eingegeben wurde, mußt du dafür eine if()-Abfrage verwenden - zur Not blätterst du ein paar Seiten nach vorne in deinem Lehrbuch, um rauszufinden, was eine if()-Abfrage ist <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/987509</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987509</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 06 Feb 2006 14:26:19 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 14:32:17 GMT]]></title><description><![CDATA[<p>genau<br />
das erwarte ich ja eigentlich auch aber es geht einfach nicht und den fehler den er mir die ganze zeit bringt ist:<br />
[Build Error] [&quot;main für char und cin.o&quot;] Error 1</p>
<p>mfg PCfreak</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987519</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987519</guid><dc:creator><![CDATA[PCfreak]]></dc:creator><pubDate>Mon, 06 Feb 2006 14:32:17 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 14:54:42 GMT]]></title><description><![CDATA[<p>kein besonders aussagekräfitger Fehler - was meldet denn die Hilfe deines Compilers dazu?</p>
<p>(PS: Und bist du sicher, daß du den Doppelpunkt weggemacht hast? Andere Syntax-Fehler fallen mir in deinem oberen Fragment nicht auf.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987544</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987544</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 06 Feb 2006 14:54:42 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 14:59:37 GMT]]></title><description><![CDATA[<p>die hilfe schweigt stumm</p>
<p>und hier ist nochmals der code:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;

using namespace std;

int main (void)

{
    char t;
    cin &gt;&gt;t;
    char i;
    cin &gt;&gt;i;
    char m;
    cin &gt;&gt;m;
    char o;
    cin &gt;&gt;o;
    cout&lt;&lt;t,i,m,o;
    return 0;
}
</code></pre>
<p>keine ahung wo dieser scheiss fehler liegt</p>
<p>mfg PCfreak</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987545</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987545</guid><dc:creator><![CDATA[PCfreak]]></dc:creator><pubDate>Mon, 06 Feb 2006 14:59:37 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 15:02:29 GMT]]></title><description><![CDATA[<p>alles was ich noch gefunden habe ist das:<br />
No such file or directory</p>
<p>mfg PCfreak</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987554</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987554</guid><dc:creator><![CDATA[PCfreak]]></dc:creator><pubDate>Mon, 06 Feb 2006 15:02:29 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 15:19:01 GMT]]></title><description><![CDATA[<p>Dann solltest du mal schauen, ob der Compiler und Linker wirklich mit der selben Datei arbeiten (nicht daß der Linker in einem ganz anderen Verzeichnis sucht als der Compiler).</p>
<p>Andere Lösung wäre es noch, die Leerzeichen aus deinem Dateinamen wegzulassen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987569</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987569</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 06 Feb 2006 15:19:01 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 15:21:48 GMT]]></title><description><![CDATA[<p>ja der linker und der komplier suchen in der gleichen datei</p>
<p>kannst du mir mal zeigen was du mit &quot;die Leerzeichen aus deinem Dateinamen wegzulassen&quot; meinst</p>
<p>mfg PCfreak</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987574</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987574</guid><dc:creator><![CDATA[PCfreak]]></dc:creator><pubDate>Mon, 06 Feb 2006 15:21:48 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 15:26:13 GMT]]></title><description><![CDATA[<p>Nenn deine Datei mal so um, daß der Name kein Leerzeichen mehr enthält - möglicherweise wird der Dateiname sonst vom Linker in mehrere Einzelnamen zerlegt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987581</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987581</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 06 Feb 2006 15:26:13 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 15:36:53 GMT]]></title><description><![CDATA[<p>auch wenn ich das mache ändert sich nichts</p>
<p>mfg PCfreak</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987593</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987593</guid><dc:creator><![CDATA[PCfreak]]></dc:creator><pubDate>Mon, 06 Feb 2006 15:36:53 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 17:28:50 GMT]]></title><description><![CDATA[<p>Probier mal #include &lt;iostream.h&gt; bei alten Compilern klappt es meist.<br />
Sollte es auch nicht gehen, lass zusätzlich noch using namespace std; weg.</p>
<p>Die oberen Lösungsansätze -&gt;NUR&lt;- bei alten Compilern verwenden die neuen unterstützen Ansi-C++ standard.</p>
<p>Währe gut wenn du uns mal deinen Compiler nennst sollte das Problem nicht behoben sein.</p>
<p>Kompiliert er denn Sachen wie:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;

using std::cout;

int main()
{ cout &lt;&lt; &quot;test&quot;; }
</code></pre>
<p>?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987762</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987762</guid><dc:creator><![CDATA[-_-]]></dc:creator><pubDate>Mon, 06 Feb 2006 17:28:50 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 18:35:01 GMT]]></title><description><![CDATA[<p>mein Compiler heisst Dev-cpp</p>
<p>und das was du haben wolltest das geht ohne probleme</p>
<p>mfg PCfreak</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987847</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987847</guid><dc:creator><![CDATA[PCfreak]]></dc:creator><pubDate>Mon, 06 Feb 2006 18:35:01 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 19:38:24 GMT]]></title><description><![CDATA[<p>Bei mir klappt es , ich weiss nicht was du willst ich bekomme keine fehlermeldung , wielleicht hilft dir dies weiter:</p>
<pre><code>#include &lt;iostream&gt; 
#include &lt;conio.h&gt;
using namespace std; 
int main()
{ 
    char t; 
    cin &gt;&gt;t; 
    char i; 
    cin &gt;&gt;i; 
    char m; 
    cin &gt;&gt;m; 
    char o; 
    cin &gt;&gt;o; 
    cout&lt;&lt;t&lt;&lt;i&lt;&lt;m&lt;&lt;o;
    getch(); 
    return 0; 
}
</code></pre>
<p>Lightning</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987954</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987954</guid><dc:creator><![CDATA[Lightning*]]></dc:creator><pubDate>Mon, 06 Feb 2006 19:38:24 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Mon, 06 Feb 2006 21:16:23 GMT]]></title><description><![CDATA[<p>ja so geht es bei mir auch<br />
was mache ich den falsch<br />
kann mir noch jemand bitte die begriffe getch und #include &lt;conio.h&gt; erläutern</p>
<p>mfg PCfreak</p>
]]></description><link>https://www.c-plusplus.net/forum/post/988106</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/988106</guid><dc:creator><![CDATA[PCfreak]]></dc:creator><pubDate>Mon, 06 Feb 2006 21:16:23 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Tue, 07 Feb 2006 07:50:38 GMT]]></title><description><![CDATA[<p>Dein Problem , war eigentlich nur , wie du schaffen kannst dass dein Bildschirm stehen bleibt und nicht ob die syntax falsch ist.<br />
Also du kannst den Bildschirm immer mit :</p>
<pre><code>#include &lt;conio.h&gt;
..
getch();
</code></pre>
<p>und<br />
cin.get();<br />
kann auch manchmal da zu dienen.</p>
<p>CoD_PRO-&gt; Lightning</p>
]]></description><link>https://www.c-plusplus.net/forum/post/988200</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/988200</guid><dc:creator><![CDATA[CoD_PRO]]></dc:creator><pubDate>Tue, 07 Feb 2006 07:50:38 GMT</pubDate></item><item><title><![CDATA[Reply to char und cin on Tue, 07 Feb 2006 15:10:49 GMT]]></title><description><![CDATA[<p>ich habe eine Möglichkeit gefunden wie es geht:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;

using namespace std;

int main (void)

{
    char t;
    cin &gt;&gt;t;
    char i;
    cin &gt;&gt;i;
    char m;
    cin &gt;&gt;m;
    char o;
    cin &gt;&gt;o;
    cout&lt;&lt;t,i,m,o;
    return 0;
}
</code></pre>
<p>mfg PCfreak</p>
<p>PS: und danke für die Hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/988610</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/988610</guid><dc:creator><![CDATA[PCfreak]]></dc:creator><pubDate>Tue, 07 Feb 2006 15:10:49 GMT</pubDate></item></channel></rss>