<?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[Numeric_Limits was not declared in this scope :(]]></title><description><![CDATA[<p>Freunde der Sonne!<br />
Die Überschrift ist die Fehlermeldung die ich erhalte, wenn ich versuche, folgenden Code zu kompilieren. Ich verwende Dev C++ 5.4.</p>
<pre><code>#include &lt;Limits&gt;
#include &lt;iostream&gt;

using namespace std;

int main()
{
	cout &lt;&lt; &quot;Genauigkeit von float betraegt etwa &quot; &lt;&lt; numeric_Limits&lt;float&gt;::digits10 &lt;&lt; &quot; Dezimalstellen\n&quot;;
	cout &lt;&lt; &quot;Genauigkeit von double betraegt etwa &quot; &lt;&lt; numeric_Limits&lt;double&gt;::digits10 &lt;&lt; &quot; Dezimalstellen\n&quot;;
	cout &lt;&lt; &quot;Genauigkeit von long double betraegt etwa &quot; &lt;&lt; numeric_Limits&lt;long double&gt;::digits10 &lt;&lt; &quot; Dezimalstellen\n&quot;;

	cin.get();
}
</code></pre>
<p>Wo ist das verflixte Problem?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/336450/numeric_limits-was-not-declared-in-this-scope</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 09:01:09 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/336450.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Jan 2016 21:00:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Numeric_Limits was not declared in this scope :( on Fri, 22 Jan 2016 21:00:27 GMT]]></title><description><![CDATA[<p>Freunde der Sonne!<br />
Die Überschrift ist die Fehlermeldung die ich erhalte, wenn ich versuche, folgenden Code zu kompilieren. Ich verwende Dev C++ 5.4.</p>
<pre><code>#include &lt;Limits&gt;
#include &lt;iostream&gt;

using namespace std;

int main()
{
	cout &lt;&lt; &quot;Genauigkeit von float betraegt etwa &quot; &lt;&lt; numeric_Limits&lt;float&gt;::digits10 &lt;&lt; &quot; Dezimalstellen\n&quot;;
	cout &lt;&lt; &quot;Genauigkeit von double betraegt etwa &quot; &lt;&lt; numeric_Limits&lt;double&gt;::digits10 &lt;&lt; &quot; Dezimalstellen\n&quot;;
	cout &lt;&lt; &quot;Genauigkeit von long double betraegt etwa &quot; &lt;&lt; numeric_Limits&lt;long double&gt;::digits10 &lt;&lt; &quot; Dezimalstellen\n&quot;;

	cin.get();
}
</code></pre>
<p>Wo ist das verflixte Problem?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2484384</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484384</guid><dc:creator><![CDATA[Dexter1997]]></dc:creator><pubDate>Fri, 22 Jan 2016 21:00:27 GMT</pubDate></item><item><title><![CDATA[Reply to Numeric_Limits was not declared in this scope :( on Fri, 22 Jan 2016 21:13:09 GMT]]></title><description><![CDATA[<p>Wie wärs mit</p>
<pre><code>numeric_limits
</code></pre>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2484389</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484389</guid><dc:creator><![CDATA[Bitmapper]]></dc:creator><pubDate>Fri, 22 Jan 2016 21:13:09 GMT</pubDate></item><item><title><![CDATA[Reply to Numeric_Limits was not declared in this scope :( on Sat, 23 Jan 2016 07:08:07 GMT]]></title><description><![CDATA[<p>Dexter1997 schrieb:</p>
<blockquote>
<p>Dev C++ 5.4.</p>
</blockquote>
<p>Da ist bereits ein Schlimmer Fehler. Nimm ne anständige IDE und wird fas Buch weg, was Dev C++ empfohlen hat. Die sind fast alle grottig schlecht (und veraltet auch noch).</p>
<pre><code>#include &lt;Limits&gt;
</code></pre>
<p>Merk Dir, der C++-Standard kenn keine Großbuchstaben oder Farben, damit man noch aug 50-er-Jahre-Hardware programmieren kann.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2484408</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484408</guid><dc:creator><![CDATA[DirkB]]></dc:creator><pubDate>Sat, 23 Jan 2016 07:08:07 GMT</pubDate></item><item><title><![CDATA[Reply to Numeric_Limits was not declared in this scope :( on Sat, 23 Jan 2016 08:46:50 GMT]]></title><description><![CDATA[<p>DirkB schrieb:</p>
<blockquote>
<p>Dexter1997 schrieb:</p>
<blockquote>
<p>Dev C++ 5.4.</p>
</blockquote>
<p>Da ist bereits ein Schlimmer Fehler. Nimm ne anständige IDE und wird fas Buch weg, was Dev C++ empfohlen hat. Die sind fast alle grottig schlecht (und veraltet auch noch).</p>
</blockquote>
<p>Ich verwende das Buch &quot;Der C++ Programmierer&quot; - Wo ist das denn schlecht?<br />
Danke für die Hilfe übrigens <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2484414</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484414</guid><dc:creator><![CDATA[Dexters1997]]></dc:creator><pubDate>Sat, 23 Jan 2016 08:46:50 GMT</pubDate></item><item><title><![CDATA[Reply to Numeric_Limits was not declared in this scope :( on Sat, 23 Jan 2016 09:31:18 GMT]]></title><description><![CDATA[<p>Dexters1997 schrieb:</p>
<blockquote>
<p>DirkB schrieb:</p>
<blockquote>
<p>Dexter1997 schrieb:</p>
<blockquote>
<p>Dev C++ 5.4.</p>
</blockquote>
<p>Da ist bereits ein Schlimmer Fehler. Nimm ne anständige IDE und wird fas Buch weg, was Dev C++ empfohlen hat. Die sind fast alle grottig schlecht (und veraltet auch noch).</p>
</blockquote>
<p>Ich verwende das Buch &quot;Der C++ Programmierer&quot; - Wo ist das denn schlecht?<br />
Danke für die Hilfe übrigens <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
</blockquote>
<p>Weiß nicht, ich kenne das Buch nicht.<br />
Dev C++ 5.4 ist zwar neuer als die Version 4.9, die über 6 Jahre aktuell war, aber trotzdem nicht mehr aktuell.</p>
<p>^Das sich das etwas schizophren anhört, liegt daran, dass noch jemand meinen Nick benutzt.^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2484416</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484416</guid><dc:creator><![CDATA[DirkB]]></dc:creator><pubDate>Sat, 23 Jan 2016 09:31:18 GMT</pubDate></item><item><title><![CDATA[Reply to Numeric_Limits was not declared in this scope :( on Sat, 23 Jan 2016 09:59:49 GMT]]></title><description><![CDATA[<p>Hab gehört 'Der C++ Programmierer' ist ein billiger Abklatsch von 'Der C Programmierer', aber das muss nicht stimmen.<br />
VisualStudio oder Code::Blocks sind die IDEs deiner Wahl.<br />
Dirk: eine Registrierung kostet nichts <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/2484418</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484418</guid><dc:creator><![CDATA[Techel]]></dc:creator><pubDate>Sat, 23 Jan 2016 09:59:49 GMT</pubDate></item><item><title><![CDATA[Reply to Numeric_Limits was not declared in this scope :( on Sat, 23 Jan 2016 13:10:39 GMT]]></title><description><![CDATA[<p>Wo &quot;hört&quot; man denn so etwas? <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>
<p>Klar gibt es eine Menge Ansichten, wie es eine Menge Menschen gibt, aber eine gewisse Kontinuität sollte es in einem Fach-Forum schon geben.</p>
<p>'Der C++ Programmierer' von Ulrich Breymann gehört auf jeden Fall zu den hier empfohlenen Büchern. Einmal in der Liste für Neulinge, dann als eigener Thread <a href="https://www.c-plusplus.net/forum/309730">https://www.c-plusplus.net/forum/309730</a><br />
Inzwischen auch in einer 2015er Auflage. Und dieses auf C-Abklatsch zu reduzieren kann ich absolut nicht nachvollziehen. Wobei es ein Buch 'Der C-Programmierer' auch gar nicht zu geben scheint.</p>
<p>EDIT: Das obige Beispiel sieht im Buch übrigens so aus:</p>
<pre><code>/* cppbuch/k1/genauigkeiten.cpp
   Beispiel zum Buch von U. Breymann: Der C++ Programmierer; 4. Aufl. Hanser 2015
   Diese Software ist freie Software. Website: http://www.cppbuch.de/ 
*/
#include &lt;limits&gt;
#include &lt;iostream&gt;
using namespace std;

int main() {
  cout &lt;&lt; &quot;Die Genauigkeit von float beträgt etwa &quot;
       &lt;&lt; numeric_limits&lt;float&gt;::digits10 &lt;&lt; &quot; Dezimalstellen\n&quot;;
  cout &lt;&lt; &quot;Die Genauigkeit von double beträgt etwa &quot;
       &lt;&lt; numeric_limits&lt;double&gt;::digits10 &lt;&lt; &quot; Dezimalstellen\n&quot;;
  cout &lt;&lt; &quot;Die Genauigkeit von long double beträgt etwa &quot;
       &lt;&lt; numeric_limits&lt;long double&gt;::digits10
       &lt;&lt; &quot; Dezimalstellen\n&quot;;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2484432</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484432</guid><dc:creator><![CDATA[zeropage]]></dc:creator><pubDate>Sat, 23 Jan 2016 13:10:39 GMT</pubDate></item><item><title><![CDATA[Reply to Numeric_Limits was not declared in this scope :( on Sat, 23 Jan 2016 14:06:39 GMT]]></title><description><![CDATA[<p>roflo schrieb:</p>
<blockquote>
<p>Hab gehört 'Der C++ Programmierer' ist ein billiger Abklatsch von 'Der C Programmierer', aber das muss nicht stimmen.</p>
</blockquote>
<p>Die meisten frühen C++-Bücher sind so entstanden, daß ein C-Buch um drei oder fünf Kapitelchen erweitert wurde; entsprechend schaurig waren sie. Also wenns ein &quot;C++ von Alpha bis Omega&quot; gäbe und vom selben Autor ein &quot;C von Alpha bis Omega&quot;, dann würde ich mächtig Angst haben.</p>
<p>Der Breymann ist aber gut.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2484434</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484434</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Sat, 23 Jan 2016 14:06:39 GMT</pubDate></item><item><title><![CDATA[Reply to Numeric_Limits was not declared in this scope :( on Sat, 23 Jan 2016 14:08:17 GMT]]></title><description><![CDATA[<p>lemon03 schrieb:</p>
<blockquote>
<p>EDIT: Das obige Beispiel sieht im Buch übrigens so aus:</p>
<pre><code>...\n&quot;;
</code></pre>
</blockquote>
<p>Oh, ein Lehrbuch mit \n statt endl. Höchst erfreulich.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2484435</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484435</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Sat, 23 Jan 2016 14:08:17 GMT</pubDate></item></channel></rss>