<?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[Array Werte..]]></title><description><![CDATA[<p>Hallo leute,</p>
<p>habe eine frage: kann ich meine Werte, die in einem Array abgelegt sind, einfach alle Werte in positive Zahlen machen??</p>
<p>ich weiß, dass man mit</p>
<pre><code>std::fabs()
</code></pre>
<p>eine zahl in positve zahl umwandeln kann..kann ich dies aber auch bei einem array..wie könnte das gehen??</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/182972/array-werte</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 05:36:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/182972.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 31 May 2007 08:54:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Array Werte.. on Thu, 31 May 2007 08:54:34 GMT]]></title><description><![CDATA[<p>Hallo leute,</p>
<p>habe eine frage: kann ich meine Werte, die in einem Array abgelegt sind, einfach alle Werte in positive Zahlen machen??</p>
<p>ich weiß, dass man mit</p>
<pre><code>std::fabs()
</code></pre>
<p>eine zahl in positve zahl umwandeln kann..kann ich dies aber auch bei einem array..wie könnte das gehen??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1295751</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1295751</guid><dc:creator><![CDATA[PiotreD]]></dc:creator><pubDate>Thu, 31 May 2007 08:54:34 GMT</pubDate></item><item><title><![CDATA[Reply to Array Werte.. on Thu, 31 May 2007 08:56:20 GMT]]></title><description><![CDATA[<p>Mach ne Schleife.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1295753</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1295753</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Thu, 31 May 2007 08:56:20 GMT</pubDate></item><item><title><![CDATA[Reply to Array Werte.. on Thu, 31 May 2007 08:59:48 GMT]]></title><description><![CDATA[<p>bitte um beispiel..</p>
<p>habe folgende berechnung:</p>
<pre><code>dx1[m]= ValueX[m] - ValueX[m+1];
</code></pre>
<p>diese berechnung läuft auch in einer schleife..</p>
<p>nun möchte ich alle daten in dx1[m] positiv machen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1295760</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1295760</guid><dc:creator><![CDATA[PiotreD]]></dc:creator><pubDate>Thu, 31 May 2007 08:59:48 GMT</pubDate></item><item><title><![CDATA[Reply to Array Werte.. on Thu, 31 May 2007 09:14:00 GMT]]></title><description><![CDATA[<p>Puh, hab ich ne Ahnung, wie fabs funktioniert? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /><br />
Schuß ins Blaue:</p>
<pre><code class="language-cpp">dx1[m]= std::fabs(ValueX[m] - ValueX[m+1]);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1295767</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1295767</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Thu, 31 May 2007 09:14:00 GMT</pubDate></item></channel></rss>