<?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[stdafx.h Problem (split von &amp;quot;C++ devc++&amp;quot;)]]></title><description><![CDATA[<p>Hallo leute ich habe auch der spasseshalber die Aufgabe versucht.</p>
<p>Ich programmiere mit microsoft visual studio .</p>
<p>Aber dieses Programm wird nicht ausgeführt:</p>
<pre><code>#include &lt;iostream&gt;
#include &lt;StdAfx.h&gt;
using namespace std;

int main()
{

    int a(0), b(0);
    cout &lt;&lt; &quot;Geben sie eine ganzzahlige Variable ein:\n&quot;;
    cin &gt;&gt; a;
    cout &lt;&lt; &quot;Geben sie noch eine ganzzahlige Variable ein:\n&quot;;
    cin &gt;&gt; b;
    int c(a+b);
    cout &lt;&lt; a &lt;&lt; &quot;+&quot; &lt;&lt; b &lt;&lt; &quot;=&quot; &lt;&lt; c &lt;&lt; &quot;\n\n&quot;;

    float fa(0), fb(0);
    cout &lt;&lt; &quot;Geben sie eine Gleitpunktzahl ein:\n&quot;;
    cin &gt;&gt; fa;
    cout &lt;&lt; &quot;Geben sie nocheine Gleitpunktzahl ein:\n&quot;;
    cin &gt;&gt; fb;
    float fc(fa-fb);
    cout &lt;&lt; fa &lt;&lt; &quot;-&quot; &lt;&lt; fb &lt;&lt; &quot;=&quot; &lt;&lt; fc &lt;&lt; &quot;\n\n&quot;;

    bool ba(true), bb(true);
    cout &lt;&lt; &quot;Geben sie 1(wahr) oder 0(falsch) ein:\n&quot;;
    cin &gt;&gt; ba; //erster Wahrheitswert (bool kann (vereinfacht) nur true(1) oder false(0) annehmen)
    cout &lt;&lt; &quot;Geben sie nochmal 1(wahr) oder 0(falsch) ein:\n&quot;;
    cin &gt;&gt; bb; //zweiter Wahrheitswert
    bool bc(ba&amp;&amp;bb); //das Ergebnis des &amp;&amp;-Operator gibt einen Wahrheitswert, also true oder false, zurück,
                     //der beschreibt, ob die beiden Operanten true sind.
    cout &lt;&lt; ba &lt;&lt; &quot;||&quot; &lt;&lt; bb &lt;&lt; &quot;=&quot; &lt;&lt; bc &lt;&lt; &quot;\n\n&quot;;
    //bei der Ausgabe wird logischerweise nicht &quot;true&quot; oder &quot;false&quot;, sondern &quot;1&quot; oder &quot;0&quot; ausgegeben

    char ca(0), cb(0);
    cout &lt;&lt; &quot;Geben sie ein Zeichen ein:\n&quot;;
    cin &gt;&gt; ca;
    cout &lt;&lt; &quot;Geben sie noch ein Zeichen ein:\n&quot;;
    cin &gt;&gt; cb;
    bool cc(ca!=cb); //der !=-Operator gibt einen Wahrheitswert zurück, welcher beschreibt, ob die Werte
                     //beider Operanden ungleich sind
    cout &lt;&lt; ca &lt;&lt; &quot;!=&quot; &lt;&lt; cb &lt;&lt; &quot;=&quot; &lt;&lt; cc &lt;&lt; &quot;\n\n&quot;;

    string sa, sb;
    cout &lt;&lt; &quot;Geben sie eine Zeichenkette ohne whitespaces ein:\n&quot;;
    cin &gt;&gt; sa;
    cout &lt;&lt; &quot;Geben sie noch eine Zeichenkette ohne whitespaces ein:\n&quot;;
    cin &gt;&gt; sb;
    bool sc(ca&lt;cb); //Schaut, ob sa lexikalisch (alphabetisch) kleiner als sb ist
    cout &lt;&lt; sa &lt;&lt; &quot;&lt;&quot; &lt;&lt; sb &lt;&lt; &quot;=&quot; &lt;&lt; sc &lt;&lt; &quot;\n\n&quot;;
}
</code></pre>
<p>Oder hattet ihr extra für den user programmer einen Fehler eingebaut?</p>
<p>Weil zumindest meine ide führt das nicht aus.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/310205/stdafx-h-problem-split-von-quot-c-devc-quot</link><generator>RSS for Node</generator><lastBuildDate>Wed, 05 Aug 2026 02:33:59 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/310205.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Nov 2012 20:39:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to stdafx.h Problem (split von &amp;quot;C++ devc++&amp;quot;) on Mon, 05 Nov 2012 20:39:51 GMT]]></title><description><![CDATA[<p>Hallo leute ich habe auch der spasseshalber die Aufgabe versucht.</p>
<p>Ich programmiere mit microsoft visual studio .</p>
<p>Aber dieses Programm wird nicht ausgeführt:</p>
<pre><code>#include &lt;iostream&gt;
#include &lt;StdAfx.h&gt;
using namespace std;

int main()
{

    int a(0), b(0);
    cout &lt;&lt; &quot;Geben sie eine ganzzahlige Variable ein:\n&quot;;
    cin &gt;&gt; a;
    cout &lt;&lt; &quot;Geben sie noch eine ganzzahlige Variable ein:\n&quot;;
    cin &gt;&gt; b;
    int c(a+b);
    cout &lt;&lt; a &lt;&lt; &quot;+&quot; &lt;&lt; b &lt;&lt; &quot;=&quot; &lt;&lt; c &lt;&lt; &quot;\n\n&quot;;

    float fa(0), fb(0);
    cout &lt;&lt; &quot;Geben sie eine Gleitpunktzahl ein:\n&quot;;
    cin &gt;&gt; fa;
    cout &lt;&lt; &quot;Geben sie nocheine Gleitpunktzahl ein:\n&quot;;
    cin &gt;&gt; fb;
    float fc(fa-fb);
    cout &lt;&lt; fa &lt;&lt; &quot;-&quot; &lt;&lt; fb &lt;&lt; &quot;=&quot; &lt;&lt; fc &lt;&lt; &quot;\n\n&quot;;

    bool ba(true), bb(true);
    cout &lt;&lt; &quot;Geben sie 1(wahr) oder 0(falsch) ein:\n&quot;;
    cin &gt;&gt; ba; //erster Wahrheitswert (bool kann (vereinfacht) nur true(1) oder false(0) annehmen)
    cout &lt;&lt; &quot;Geben sie nochmal 1(wahr) oder 0(falsch) ein:\n&quot;;
    cin &gt;&gt; bb; //zweiter Wahrheitswert
    bool bc(ba&amp;&amp;bb); //das Ergebnis des &amp;&amp;-Operator gibt einen Wahrheitswert, also true oder false, zurück,
                     //der beschreibt, ob die beiden Operanten true sind.
    cout &lt;&lt; ba &lt;&lt; &quot;||&quot; &lt;&lt; bb &lt;&lt; &quot;=&quot; &lt;&lt; bc &lt;&lt; &quot;\n\n&quot;;
    //bei der Ausgabe wird logischerweise nicht &quot;true&quot; oder &quot;false&quot;, sondern &quot;1&quot; oder &quot;0&quot; ausgegeben

    char ca(0), cb(0);
    cout &lt;&lt; &quot;Geben sie ein Zeichen ein:\n&quot;;
    cin &gt;&gt; ca;
    cout &lt;&lt; &quot;Geben sie noch ein Zeichen ein:\n&quot;;
    cin &gt;&gt; cb;
    bool cc(ca!=cb); //der !=-Operator gibt einen Wahrheitswert zurück, welcher beschreibt, ob die Werte
                     //beider Operanden ungleich sind
    cout &lt;&lt; ca &lt;&lt; &quot;!=&quot; &lt;&lt; cb &lt;&lt; &quot;=&quot; &lt;&lt; cc &lt;&lt; &quot;\n\n&quot;;

    string sa, sb;
    cout &lt;&lt; &quot;Geben sie eine Zeichenkette ohne whitespaces ein:\n&quot;;
    cin &gt;&gt; sa;
    cout &lt;&lt; &quot;Geben sie noch eine Zeichenkette ohne whitespaces ein:\n&quot;;
    cin &gt;&gt; sb;
    bool sc(ca&lt;cb); //Schaut, ob sa lexikalisch (alphabetisch) kleiner als sb ist
    cout &lt;&lt; sa &lt;&lt; &quot;&lt;&quot; &lt;&lt; sb &lt;&lt; &quot;=&quot; &lt;&lt; sc &lt;&lt; &quot;\n\n&quot;;
}
</code></pre>
<p>Oder hattet ihr extra für den user programmer einen Fehler eingebaut?</p>
<p>Weil zumindest meine ide führt das nicht aus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2267893</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2267893</guid><dc:creator><![CDATA[Versuch]]></dc:creator><pubDate>Mon, 05 Nov 2012 20:39:51 GMT</pubDate></item><item><title><![CDATA[Reply to stdafx.h Problem (split von &amp;quot;C++ devc++&amp;quot;) on Mon, 05 Nov 2012 20:48:17 GMT]]></title><description><![CDATA[<blockquote>
<p>Aber dieses Programm wird nicht ausgeführt:</p>
</blockquote>
<p>Eine Fehlerbeschreibung erster Güteklasse.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2267896</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2267896</guid><dc:creator><![CDATA[sone_logoff]]></dc:creator><pubDate>Mon, 05 Nov 2012 20:48:17 GMT</pubDate></item><item><title><![CDATA[Reply to stdafx.h Problem (split von &amp;quot;C++ devc++&amp;quot;) on Mon, 05 Nov 2012 20:52:48 GMT]]></title><description><![CDATA[<p>Hi ,</p>
<p>ich weiss nicht so genau was du meinst .</p>
<p>Aber bei mir wird es nicht ausgeführt.</p>
<p>Oder irre ich mich.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2267897</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2267897</guid><dc:creator><![CDATA[Versuch]]></dc:creator><pubDate>Mon, 05 Nov 2012 20:52:48 GMT</pubDate></item><item><title><![CDATA[Reply to stdafx.h Problem (split von &amp;quot;C++ devc++&amp;quot;) on Mon, 05 Nov 2012 20:57:24 GMT]]></title><description><![CDATA[<p>Als Beweis:</p>
<p>Das ist die Fehlermeldung:</p>
<p>Unerwartetes Dateiende während der Suche nach dem vorkompilierten Header. Haben Sie möglicherweise vergessen, im Quellcode &quot;#include &quot;StdAfx.h&quot;&quot; einzufügen?<br />
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========</p>
<p>Obwohl ich versucht habe für programmer den Fehler zu beheben , das Programm funktioniert nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2267899</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2267899</guid><dc:creator><![CDATA[Versuch]]></dc:creator><pubDate>Mon, 05 Nov 2012 20:57:24 GMT</pubDate></item><item><title><![CDATA[Reply to stdafx.h Problem (split von &amp;quot;C++ devc++&amp;quot;) on Mon, 05 Nov 2012 21:22:33 GMT]]></title><description><![CDATA[<p>Auch wenn ich nicht der threadsteller bin.</p>
<p>Kann mir jemand sagen warum das nicht ausgeführt wird .</p>
<p>Oder bin ich blöd?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2267917</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2267917</guid><dc:creator><![CDATA[Versuch]]></dc:creator><pubDate>Mon, 05 Nov 2012 21:22:33 GMT</pubDate></item><item><title><![CDATA[Reply to stdafx.h Problem (split von &amp;quot;C++ devc++&amp;quot;) on Mon, 05 Nov 2012 21:59:10 GMT]]></title><description><![CDATA[<p>Haben Sie möglicherweise vergessen, im Quellcode &quot;#include &quot;StdAfx.h&quot;&quot; einzufügen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2267928</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2267928</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 05 Nov 2012 21:59:10 GMT</pubDate></item><item><title><![CDATA[Reply to stdafx.h Problem (split von &amp;quot;C++ devc++&amp;quot;) on Mon, 05 Nov 2012 22:25:13 GMT]]></title><description><![CDATA[<p>Das habe ich doch bereits in meinem Code eingefügt oder ? Oder hab ich es falsch gemacht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2267937</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2267937</guid><dc:creator><![CDATA[Versuch]]></dc:creator><pubDate>Mon, 05 Nov 2012 22:25:13 GMT</pubDate></item><item><title><![CDATA[Reply to stdafx.h Problem (split von &amp;quot;C++ devc++&amp;quot;) on Mon, 05 Nov 2012 22:40:44 GMT]]></title><description><![CDATA[<pre><code>#include &lt;stdafx.h&gt;
</code></pre>
<p>ändern zu<br />
[code=&quot;cpp&quot;]#include &quot;stdafx.h&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2267944</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2267944</guid><dc:creator><![CDATA[Helferlein111elf]]></dc:creator><pubDate>Mon, 05 Nov 2012 22:40:44 GMT</pubDate></item><item><title><![CDATA[Reply to stdafx.h Problem (split von &amp;quot;C++ devc++&amp;quot;) on Tue, 06 Nov 2012 09:19:09 GMT]]></title><description><![CDATA[<p>Versuch schrieb:</p>
<blockquote>
<p>Das habe ich doch bereits in meinem Code eingefügt oder ? Oder hab ich es falsch gemacht?</p>
</blockquote>
<p>das muss ganz am Anfang der include-Liste stehen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2268028</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2268028</guid><dc:creator><![CDATA[daddy_felix]]></dc:creator><pubDate>Tue, 06 Nov 2012 09:19:09 GMT</pubDate></item></channel></rss>