<?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[Standartfunktion zur Bereichsüberprüfung einer Eingabe?]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich benötige eine Funktion, mit der ich eine double Variable auf sinnvollen Inhalt überprüfen kann. Dabei soll überprüft werden ob sich der Wert zwischen einem Minimal- und Maximalwert befindet. In der Art:</p>
<pre><code>double isValid(const double&amp; value, const double&amp; minValue, const double&amp; maxValue);
</code></pre>
<p>Gibt es dafür eine Standartfunktion, welche dafür benutzt werden kann?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/247698/standartfunktion-zur-bereichsüberprüfung-einer-eingabe</link><generator>RSS for Node</generator><lastBuildDate>Thu, 17 Sep 2026 11:55:35 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/247698.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 14 Aug 2009 11:00:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Standartfunktion zur Bereichsüberprüfung einer Eingabe? on Fri, 14 Aug 2009 11:00:33 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich benötige eine Funktion, mit der ich eine double Variable auf sinnvollen Inhalt überprüfen kann. Dabei soll überprüft werden ob sich der Wert zwischen einem Minimal- und Maximalwert befindet. In der Art:</p>
<pre><code>double isValid(const double&amp; value, const double&amp; minValue, const double&amp; maxValue);
</code></pre>
<p>Gibt es dafür eine Standartfunktion, welche dafür benutzt werden kann?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1760678</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1760678</guid><dc:creator><![CDATA[icke.willWissen**]]></dc:creator><pubDate>Fri, 14 Aug 2009 11:00:33 GMT</pubDate></item><item><title><![CDATA[Reply to Standartfunktion zur Bereichsüberprüfung einer Eingabe? on Fri, 14 Aug 2009 11:03:39 GMT]]></title><description><![CDATA[<p>Nö, eine Standar<em>d</em>funktion gibt es dafür nicht. Aber das ist ja schnell selbst geschrieben. Du hast den Anfang ja schon gemacht. Der Rückgabetyp Deiner Funktionssignatur passt allerdings nicht gut zum Namen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1760682</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1760682</guid><dc:creator><![CDATA[Tachyon]]></dc:creator><pubDate>Fri, 14 Aug 2009 11:03:39 GMT</pubDate></item><item><title><![CDATA[Reply to Standartfunktion zur Bereichsüberprüfung einer Eingabe? on Fri, 14 Aug 2009 11:05:02 GMT]]></title><description><![CDATA[<p>Die 3 Zeilen hast du doch scnell selbst geschrieben..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1760684</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1760684</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Fri, 14 Aug 2009 11:05:02 GMT</pubDate></item><item><title><![CDATA[Reply to Standartfunktion zur Bereichsüberprüfung einer Eingabe? on Fri, 14 Aug 2009 11:07:21 GMT]]></title><description><![CDATA[<p>jupp, ihr habt schon recht. Wollt nur mal wissen ob es dafür eine Standartfunktion gibt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1760688</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1760688</guid><dc:creator><![CDATA[icke.willWissen**]]></dc:creator><pubDate>Fri, 14 Aug 2009 11:07:21 GMT</pubDate></item><item><title><![CDATA[Reply to Standartfunktion zur Bereichsüberprüfung einer Eingabe? on Fri, 14 Aug 2009 11:16:56 GMT]]></title><description><![CDATA[<p>icke.willWissen() schrieb:</p>
<blockquote>
<p>jupp, ihr habt schon recht. Wollt nur mal wissen ob es dafür eine Standartfunktion gibt.</p>
</blockquote>
<p>Ter Borlantcompiler hat AFAIR eine Standartfunktion trin namens range, tie genau tas tut.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1760696</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1760696</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Fri, 14 Aug 2009 11:16:56 GMT</pubDate></item><item><title><![CDATA[Reply to Standartfunktion zur Bereichsüberprüfung einer Eingabe? on Fri, 14 Aug 2009 11:28:24 GMT]]></title><description><![CDATA[<p>ok, danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1760704</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1760704</guid><dc:creator><![CDATA[icke.willWissen**]]></dc:creator><pubDate>Fri, 14 Aug 2009 11:28:24 GMT</pubDate></item><item><title><![CDATA[Reply to Standartfunktion zur Bereichsüberprüfung einer Eingabe? on Fri, 14 Aug 2009 15:13:27 GMT]]></title><description><![CDATA[<p>Ist eingentlich -0 zwischen inklusive 0 und 1?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1760874</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1760874</guid><dc:creator><![CDATA[µngbd]]></dc:creator><pubDate>Fri, 14 Aug 2009 15:13:27 GMT</pubDate></item><item><title><![CDATA[Reply to Standartfunktion zur Bereichsüberprüfung einer Eingabe? on Fri, 14 Aug 2009 15:37:37 GMT]]></title><description><![CDATA[<p>µngbd schrieb:</p>
<blockquote>
<p>Ist eingentlich -0 zwischen inklusive 0 und 1?</p>
</blockquote>
<p>Denke schon, weil -0==0</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1760886</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1760886</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Fri, 14 Aug 2009 15:37:37 GMT</pubDate></item></channel></rss>