<?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[Hilfe!!!]]></title><description><![CDATA[<p>hi wie ich schon im titel geschrieben habe brauch ich hilfe. ich benutze microsoft visual c++. ich will c++ lernen und habe mir ein buch gekauft da stehen dann auch beispiele drin die ich abschreiben soll. das habe ich dann auch gemacht meins sieht so aus:</p>
<p>// Lernbeispiel 4.cpp: Hauptprojektdatei.</p>
<p>#include &lt;iostream.h&gt;</p>
<p>int main()<br />
{<br />
cout &lt;&lt; &quot;Groesse eines int:\t\t&quot; &lt;&lt; sizeof (int) &lt;&lt; &quot;Bytes.\n&quot;;<br />
cout &lt;&lt; &quot;Groesse eines short int:\t&quot; &lt;&lt; sizeof (short) &lt;&lt; &quot;Bytes.\n&quot;;<br />
cout &lt;&lt; &quot;Groesse eines long int:\t&quot; &lt;&lt; sizeof (long) &lt;&lt; &quot;Bytes.\n&quot;;<br />
cout &lt;&lt; &quot;Groesse eines char:\t\t&quot; &lt;&lt; sizeof (char) &lt;&lt; &quot;Bytes.\n&quot;;<br />
cout &lt;&lt; &quot;Groesse eines float:\t\t&quot; &lt;&lt; sizeof (float) &lt;&lt; &quot;Bytes.\n&quot;;<br />
cout &lt;&lt; &quot;Groesse eines double:\t\t&quot; &lt;&lt; sizeof (double) &lt;&lt; &quot;Bytes.\n&quot;;<br />
cout &lt;&lt; &quot;Groesse eines bool:\t\t&quot; &lt;&lt; sizeof (bool) &lt;&lt; &quot;Bytes.\n&quot;;</p>
<p>return 0;<br />
}</p>
<p>im buch steht dass es so ausgegeben werden soll:</p>
<p>Groesse eines int: 4 Bytes.<br />
Groesse eines short int: 2 Bytes.<br />
Groesse eines long int: 4 Bytes.<br />
Groesse eines char: 1 Bytes.<br />
Groesse eines float: 4 Bytes.<br />
Groesse eines double: 8 Bytes.<br />
Groesse eines bool: 1 Bytes.</p>
<p>das tut es aber nicht ich weiß nicht weiter immer wenn ich es ausführen will kommt da eine fehlermeldung:</p>
<p>Das system kann den angegebenen pfad nicht finden.</p>
<p>und wenn ich es dann doch mal schaffe öffnet sich das fenster wo es ausgegeben wird und eine sekunde später schließt es sich wieder.<br />
wäre nett wenn ihr mir helft.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/289240/hilfe</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 21:36:57 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/289240.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Jun 2011 19:34:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hilfe!!! on Thu, 30 Jun 2011 19:34:30 GMT]]></title><description><![CDATA[<p>hi wie ich schon im titel geschrieben habe brauch ich hilfe. ich benutze microsoft visual c++. ich will c++ lernen und habe mir ein buch gekauft da stehen dann auch beispiele drin die ich abschreiben soll. das habe ich dann auch gemacht meins sieht so aus:</p>
<p>// Lernbeispiel 4.cpp: Hauptprojektdatei.</p>
<p>#include &lt;iostream.h&gt;</p>
<p>int main()<br />
{<br />
cout &lt;&lt; &quot;Groesse eines int:\t\t&quot; &lt;&lt; sizeof (int) &lt;&lt; &quot;Bytes.\n&quot;;<br />
cout &lt;&lt; &quot;Groesse eines short int:\t&quot; &lt;&lt; sizeof (short) &lt;&lt; &quot;Bytes.\n&quot;;<br />
cout &lt;&lt; &quot;Groesse eines long int:\t&quot; &lt;&lt; sizeof (long) &lt;&lt; &quot;Bytes.\n&quot;;<br />
cout &lt;&lt; &quot;Groesse eines char:\t\t&quot; &lt;&lt; sizeof (char) &lt;&lt; &quot;Bytes.\n&quot;;<br />
cout &lt;&lt; &quot;Groesse eines float:\t\t&quot; &lt;&lt; sizeof (float) &lt;&lt; &quot;Bytes.\n&quot;;<br />
cout &lt;&lt; &quot;Groesse eines double:\t\t&quot; &lt;&lt; sizeof (double) &lt;&lt; &quot;Bytes.\n&quot;;<br />
cout &lt;&lt; &quot;Groesse eines bool:\t\t&quot; &lt;&lt; sizeof (bool) &lt;&lt; &quot;Bytes.\n&quot;;</p>
<p>return 0;<br />
}</p>
<p>im buch steht dass es so ausgegeben werden soll:</p>
<p>Groesse eines int: 4 Bytes.<br />
Groesse eines short int: 2 Bytes.<br />
Groesse eines long int: 4 Bytes.<br />
Groesse eines char: 1 Bytes.<br />
Groesse eines float: 4 Bytes.<br />
Groesse eines double: 8 Bytes.<br />
Groesse eines bool: 1 Bytes.</p>
<p>das tut es aber nicht ich weiß nicht weiter immer wenn ich es ausführen will kommt da eine fehlermeldung:</p>
<p>Das system kann den angegebenen pfad nicht finden.</p>
<p>und wenn ich es dann doch mal schaffe öffnet sich das fenster wo es ausgegeben wird und eine sekunde später schließt es sich wieder.<br />
wäre nett wenn ihr mir helft.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2086849</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2086849</guid><dc:creator><![CDATA[Fabian2510]]></dc:creator><pubDate>Thu, 30 Jun 2011 19:34:30 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe!!! on Thu, 30 Jun 2011 19:39:43 GMT]]></title><description><![CDATA[<p>Erstens: Der Header heißt ganz offiziell &lt;iostream&gt; und verstaut seinen Inhalt im Namensraum std. &lt;iostream.h&gt; stammt aus einer Zeit vor dem ANSI-Standard<br />
Zweitens: Das Konsolenfenster schließt sich, wenn das Programm zu Ende ist. Was du dagegen tun kannst, erfährst du in der <a href="http://www.c-plusplus.net/forum/p797103#797103" rel="nofollow">Konsolen-FAQ</a>.<br />
Drittens: Abgesehen von sizeof(char)==1 definiert der Standard nur Minimalgrößen für die Datentypen.<br />
Viertens: sfds</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2086852</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2086852</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 30 Jun 2011 19:39:43 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe!!! on Thu, 30 Jun 2011 19:51:14 GMT]]></title><description><![CDATA[<p>Sieht eher nicht nach MFC aus. <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/2086864</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2086864</guid><dc:creator><![CDATA[EOP]]></dc:creator><pubDate>Thu, 30 Jun 2011 19:51:14 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe!!! on Thu, 30 Jun 2011 20:10:08 GMT]]></title><description><![CDATA[<p>wie meinst du?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2086874</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2086874</guid><dc:creator><![CDATA[Fabian2510]]></dc:creator><pubDate>Thu, 30 Jun 2011 20:10:08 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe!!! on Fri, 01 Jul 2011 08:19:52 GMT]]></title><description><![CDATA[<p>Das gehört in die Rubrik <strong>C++ (auch C++0x)</strong><br />
<a href="http://www.c-plusplus.net/forum/f15" rel="nofollow">http://www.c-plusplus.net/forum/f15</a><br />
und nicht <strong>MFC (Visual C++)</strong>.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2087046</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2087046</guid><dc:creator><![CDATA[EOP]]></dc:creator><pubDate>Fri, 01 Jul 2011 08:19:52 GMT</pubDate></item></channel></rss>