<?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[Programm problem nich komplierbar]]></title><description><![CDATA[<p>Hallo,<br />
ich habe folgendes programm geschrieben und bekommen dann immer eine fehlermeldung und kann leider den fehelr nicht finden, Ich hoffe ihr könnt mir helfen. Vielen dank<br />
// This programm calculates average temperature<br />
#include &lt;iostream&gt;<br />
#include &lt;iomanip&gt;<br />
using namespace std;</p>
<p>struct temp<br />
{<br />
double temp [12];<br />
double rainfall [12];<br />
};<br />
double SumArrayR (double[], int);</p>
<p>double gethighestR (double [], int);</p>
<p>double getlowestR (double [], int);</p>
<p>double gethighestTemp (double[], int);</p>
<p>double getlowestTemp (double[], int);</p>
<p>int main ()<br />
{<br />
const int months = 12;<br />
double rainfall [months],<br />
temp [months],<br />
totalR,<br />
highestR,<br />
lowestR,<br />
averageR,<br />
totalTemp,<br />
highestTemp,<br />
lowestTemp,<br />
averageTemp;<br />
//Get the rainamount of every months<br />
cout &lt;&lt; &quot;Enter the amount of rain for every months.\n&quot;;<br />
for (int count = 0; count &lt; months; count++)<br />
{<br />
cout &lt;&lt; &quot;Months&quot; &lt;&lt; (count +1) &lt;&lt;&quot;: &quot;;<br />
cin &gt;&gt; rainfall [count];<br />
}<br />
// Get the temperature of every months<br />
cout &lt;&lt; &quot;Enter the average temperature of every months. \n&quot;;<br />
for (int count = 0; count &lt; months; count++)<br />
{<br />
cout &lt;&lt; &quot;Months&quot; &lt;&lt; (count +1) &lt;&lt;&quot;: &quot;;<br />
cin &gt;&gt; temp [count];<br />
}<br />
totalR = SumArrayR (rainfall, months);</p>
<p>averageR = totalR/ months;</p>
<p>highestR = gethighestR (rainfall, months);</p>
<p>lowestR = getlowestR (rainfall, months);</p>
<p>averageTemp =totalTemp/ months;</p>
<p>highestTemp = gethighestTemp (temp, months);</p>
<p>lowestTemp = getlowestTemp (temp, months);</p>
<p>cout &lt;&lt; fixed &lt;&lt; showpoint &lt;&lt; setprecision (2);<br />
cout &lt;&lt; &quot;The total amount of rainfall is &quot; &lt;&lt; totalR &lt;&lt; endl;<br />
cout &lt;&lt; &quot;The average amount of rainfall is &quot; &lt;&lt; averageR &lt;&lt; endl;<br />
cout &lt;&lt; &quot;The highest amount of rainfall is &quot; &lt;&lt; highestR &lt;&lt; endl;<br />
cout &lt;&lt; &quot;The lowest amount of rainfall is &quot; &lt;&lt; lowestR &lt;&lt; endl;<br />
cout &lt;&lt; &quot;The average temperature was &quot; &lt;&lt; totalTemp &lt;&lt; endl;<br />
cout &lt;&lt; &quot;The lowest temperature was &quot; &lt;&lt; lowestTemp &lt;&lt; endl;<br />
cout &lt;&lt; &quot;The highest temperature was&quot; &lt;&lt;highestTemp &lt;&lt; endl;<br />
getchar();</p>
<p>std::cin.clear();<br />
std::cin.ignore(std::cin.rdbuf()-&gt;in_avail());<br />
std::cin.get();<br />
return 0;<br />
}<br />
double sumArrayR (double array [], int size)<br />
{<br />
double totalR = 0;<br />
for (int count = 0; count &lt; size; count++)<br />
totalR += array [count];<br />
return totalR;<br />
}</p>
<p>double gethighestR (double array [], int size)<br />
{<br />
double highestR;<br />
highestR = array [0];<br />
for (int count = 1; count &lt; size; count++)<br />
{<br />
if (array [count] &gt; highestR)<br />
highestR = array[count];<br />
}<br />
return highestR;<br />
}</p>
<p>double getlowestR (double array[], int size)<br />
{<br />
double lowestR;<br />
lowestR = array [0];</p>
<p>for ( int count = 1; count &lt; size; count++)<br />
{<br />
if (array[count] &lt; lowestR)<br />
lowestR = array[count];<br />
}<br />
return lowestR;<br />
}</p>
<p>double gethighestTemp (double array [], int size)<br />
{<br />
double highestTemp;<br />
highestTemp = array [0];<br />
for (int count = 1; count &lt; size; count++)<br />
{<br />
if (array [count] &gt; highestTemp)<br />
highestTemp= array [count];<br />
}<br />
return highestTemp;<br />
}<br />
double getlowestTemp (double array [], int size)<br />
{<br />
double lowestTemp;<br />
lowestTemp = array [0];<br />
for (int count = 1; count &lt; size; count++)<br />
{<br />
if (array [count] &lt; lowestTemp)<br />
lowestTemp = array[count];<br />
}<br />
return lowestTemp;<br />
}</p>
<p>meine fehlermeldung:<br />
C:\DOKUME<sub>1\Amilo\LOKALE</sub>1\Temp\ccakbaaa.o(.text+0x25f) In function <code>main': \[Linker error\] undefined reference to</code>SumArrayR(double*, int)'<br />
C:\DOKUME<sub>1\Amilo\LOKALE</sub>1\Temp\ccakbaaa.o(.text+0x25f) ld returned 1 exit status</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/226464/programm-problem-nich-komplierbar</link><generator>RSS for Node</generator><lastBuildDate>Wed, 30 Sep 2026 16:37:40 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/226464.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 01 Nov 2008 16:00:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Programm problem nich komplierbar on Sat, 01 Nov 2008 16:00:18 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich habe folgendes programm geschrieben und bekommen dann immer eine fehlermeldung und kann leider den fehelr nicht finden, Ich hoffe ihr könnt mir helfen. Vielen dank<br />
// This programm calculates average temperature<br />
#include &lt;iostream&gt;<br />
#include &lt;iomanip&gt;<br />
using namespace std;</p>
<p>struct temp<br />
{<br />
double temp [12];<br />
double rainfall [12];<br />
};<br />
double SumArrayR (double[], int);</p>
<p>double gethighestR (double [], int);</p>
<p>double getlowestR (double [], int);</p>
<p>double gethighestTemp (double[], int);</p>
<p>double getlowestTemp (double[], int);</p>
<p>int main ()<br />
{<br />
const int months = 12;<br />
double rainfall [months],<br />
temp [months],<br />
totalR,<br />
highestR,<br />
lowestR,<br />
averageR,<br />
totalTemp,<br />
highestTemp,<br />
lowestTemp,<br />
averageTemp;<br />
//Get the rainamount of every months<br />
cout &lt;&lt; &quot;Enter the amount of rain for every months.\n&quot;;<br />
for (int count = 0; count &lt; months; count++)<br />
{<br />
cout &lt;&lt; &quot;Months&quot; &lt;&lt; (count +1) &lt;&lt;&quot;: &quot;;<br />
cin &gt;&gt; rainfall [count];<br />
}<br />
// Get the temperature of every months<br />
cout &lt;&lt; &quot;Enter the average temperature of every months. \n&quot;;<br />
for (int count = 0; count &lt; months; count++)<br />
{<br />
cout &lt;&lt; &quot;Months&quot; &lt;&lt; (count +1) &lt;&lt;&quot;: &quot;;<br />
cin &gt;&gt; temp [count];<br />
}<br />
totalR = SumArrayR (rainfall, months);</p>
<p>averageR = totalR/ months;</p>
<p>highestR = gethighestR (rainfall, months);</p>
<p>lowestR = getlowestR (rainfall, months);</p>
<p>averageTemp =totalTemp/ months;</p>
<p>highestTemp = gethighestTemp (temp, months);</p>
<p>lowestTemp = getlowestTemp (temp, months);</p>
<p>cout &lt;&lt; fixed &lt;&lt; showpoint &lt;&lt; setprecision (2);<br />
cout &lt;&lt; &quot;The total amount of rainfall is &quot; &lt;&lt; totalR &lt;&lt; endl;<br />
cout &lt;&lt; &quot;The average amount of rainfall is &quot; &lt;&lt; averageR &lt;&lt; endl;<br />
cout &lt;&lt; &quot;The highest amount of rainfall is &quot; &lt;&lt; highestR &lt;&lt; endl;<br />
cout &lt;&lt; &quot;The lowest amount of rainfall is &quot; &lt;&lt; lowestR &lt;&lt; endl;<br />
cout &lt;&lt; &quot;The average temperature was &quot; &lt;&lt; totalTemp &lt;&lt; endl;<br />
cout &lt;&lt; &quot;The lowest temperature was &quot; &lt;&lt; lowestTemp &lt;&lt; endl;<br />
cout &lt;&lt; &quot;The highest temperature was&quot; &lt;&lt;highestTemp &lt;&lt; endl;<br />
getchar();</p>
<p>std::cin.clear();<br />
std::cin.ignore(std::cin.rdbuf()-&gt;in_avail());<br />
std::cin.get();<br />
return 0;<br />
}<br />
double sumArrayR (double array [], int size)<br />
{<br />
double totalR = 0;<br />
for (int count = 0; count &lt; size; count++)<br />
totalR += array [count];<br />
return totalR;<br />
}</p>
<p>double gethighestR (double array [], int size)<br />
{<br />
double highestR;<br />
highestR = array [0];<br />
for (int count = 1; count &lt; size; count++)<br />
{<br />
if (array [count] &gt; highestR)<br />
highestR = array[count];<br />
}<br />
return highestR;<br />
}</p>
<p>double getlowestR (double array[], int size)<br />
{<br />
double lowestR;<br />
lowestR = array [0];</p>
<p>for ( int count = 1; count &lt; size; count++)<br />
{<br />
if (array[count] &lt; lowestR)<br />
lowestR = array[count];<br />
}<br />
return lowestR;<br />
}</p>
<p>double gethighestTemp (double array [], int size)<br />
{<br />
double highestTemp;<br />
highestTemp = array [0];<br />
for (int count = 1; count &lt; size; count++)<br />
{<br />
if (array [count] &gt; highestTemp)<br />
highestTemp= array [count];<br />
}<br />
return highestTemp;<br />
}<br />
double getlowestTemp (double array [], int size)<br />
{<br />
double lowestTemp;<br />
lowestTemp = array [0];<br />
for (int count = 1; count &lt; size; count++)<br />
{<br />
if (array [count] &lt; lowestTemp)<br />
lowestTemp = array[count];<br />
}<br />
return lowestTemp;<br />
}</p>
<p>meine fehlermeldung:<br />
C:\DOKUME<sub>1\Amilo\LOKALE</sub>1\Temp\ccakbaaa.o(.text+0x25f) In function <code>main': \[Linker error\] undefined reference to</code>SumArrayR(double*, int)'<br />
C:\DOKUME<sub>1\Amilo\LOKALE</sub>1\Temp\ccakbaaa.o(.text+0x25f) ld returned 1 exit status</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1608605</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1608605</guid><dc:creator><![CDATA[Playmuckel]]></dc:creator><pubDate>Sat, 01 Nov 2008 16:00:18 GMT</pubDate></item><item><title><![CDATA[Reply to Programm problem nich komplierbar on Sat, 01 Nov 2008 16:04:41 GMT]]></title><description><![CDATA[<p>Du musst die Funktion vor <code>main()</code> deklarieren, damit sie bekannt ist. Du kannst sie auch gleich dort definieren, aber das ist dir überlassen.</p>
<p>Benutze bitte C++-Tags, d.h. hülle den Code in [cpp] und [/cpp] ein. Das sieht dann folgendermassen aus:</p>
<pre><code class="language-cpp">int main()
{
    return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1608608</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1608608</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Sat, 01 Nov 2008 16:04:41 GMT</pubDate></item><item><title><![CDATA[Reply to Programm problem nich komplierbar on Sat, 01 Nov 2008 16:12:45 GMT]]></title><description><![CDATA[<p>Nexus schrieb:</p>
<blockquote>
<p>Du musst die Funktion vor <code>main()</code> deklarieren, damit sie bekannt ist. Du kannst sie auch gleich dort definieren, aber das ist dir überlassen.</p>
</blockquote>
<p>Die Funktionen sind doch vor der main() deklariert, sieht man nur so schlecht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_tongue"
      title=":P"
      alt="😛"
    /></p>
<pre><code class="language-cpp">// This programm calculates average temperature
#include &lt;iostream&gt;
#include &lt;iomanip&gt;
using namespace std;

struct temp
{
	double temp [12];
	double rainfall [12];
};
double SumArrayR (double[], int); // hier mit GROSSEM S geschrieben

double gethighestR (double [], int);

double getlowestR (double [], int);

double gethighestTemp (double[], int);

double getlowestTemp (double[], int);

int main ()
{
	const int months = 12;
	double rainfall [months],
	temp [months],
	totalR,
	highestR,
	lowestR,
	averageR,
	totalTemp,
	highestTemp,
	lowestTemp,
	averageTemp;

	//Get the rainamount of every months
	cout &lt;&lt; &quot;Enter the amount of rain for every months.\n&quot;;

	for (int count = 0; count &lt; months; count++)
	{
		cout &lt;&lt; &quot;Months&quot; &lt;&lt; (count +1) &lt;&lt;&quot;: &quot;;
		cin &gt;&gt; rainfall [count];
	}
	// Get the temperature of every months

	cout &lt;&lt; &quot;Enter the average temperature of every months. \n&quot;;

	for (int count = 0; count &lt; months; count++)
	{
		cout &lt;&lt; &quot;Months&quot; &lt;&lt; (count +1) &lt;&lt;&quot;: &quot;;
		cin &gt;&gt; temp [count];
	}

	totalR = SumArrayR (rainfall, months); // Hier auch mit GROSSEM S geschrieben

	averageR = totalR/ months;

	highestR = gethighestR (rainfall, months);

	lowestR = getlowestR (rainfall, months);

	averageTemp =totalTemp/ months;

	highestTemp = gethighestTemp (temp, months);

	lowestTemp = getlowestTemp (temp, months);

	cout &lt;&lt; fixed &lt;&lt; showpoint &lt;&lt; setprecision (2);
	cout &lt;&lt; &quot;The total amount of rainfall is &quot; &lt;&lt; totalR &lt;&lt; endl;
	cout &lt;&lt; &quot;The average amount of rainfall is &quot; &lt;&lt; averageR &lt;&lt; endl;
	cout &lt;&lt; &quot;The highest amount of rainfall is &quot; &lt;&lt; highestR &lt;&lt; endl;
	cout &lt;&lt; &quot;The lowest amount of rainfall is &quot; &lt;&lt; lowestR &lt;&lt; endl;
	cout &lt;&lt; &quot;The average temperature was &quot; &lt;&lt; totalTemp &lt;&lt; endl;
	cout &lt;&lt; &quot;The lowest temperature was &quot; &lt;&lt; lowestTemp &lt;&lt; endl;
	cout &lt;&lt; &quot;The highest temperature was&quot; &lt;&lt;highestTemp &lt;&lt; endl;
	getchar();

	std::cin.clear();
	std::cin.ignore(std::cin.rdbuf()-&gt;in_avail());
	std::cin.get();

	return 0;
}

double sumArrayR (double array [], int size) // und hier mit KLEINEM S geschrieben
{
	double totalR = 0;
	for (int count = 0; count &lt; size; count++)
		totalR += array [count];

	return totalR;
}

double gethighestR (double array [], int size)
{
	double highestR;
	highestR = array [0];
	for (int count = 1; count &lt; size; count++)
	{
		if (array [count] &gt; highestR)
		highestR = array[count];
	}

	return highestR;
}

double getlowestR (double array[], int size)
{
	double lowestR;
	lowestR = array [0];

	for ( int count = 1; count &lt; size; count++)
	{
		if (array[count] &lt; lowestR)
			lowestR = array[count];
	}

	return lowestR;
}

double gethighestTemp (double array [], int size)
{
	double highestTemp;
	highestTemp = array [0];
	for (int count = 1; count &lt; size; count++)
	{
		if (array [count] &gt; highestTemp)
		highestTemp= array [count];
	}

	return highestTemp;
}

double getlowestTemp (double array [], int size)
{
	double lowestTemp;
	lowestTemp = array [0];
	for (int count = 1; count &lt; size; count++)
	{
		if (array [count] &lt; lowestTemp)
		lowestTemp = array[count];
	}

	return lowestTemp;
}
</code></pre>
<p>Siehe eingefügte Kommentare, die Funktion muss schon mit gleichem Namen deklariert und definiert werden, Bezeichner sind in C++ case-sensitive.</p>
<p>Bitte nächstes Mal die C++-Tags benutzen, dann bleibt auch die Einrückung erhalten:)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1608611</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1608611</guid><dc:creator><![CDATA[U-Boot]]></dc:creator><pubDate>Sat, 01 Nov 2008 16:12:45 GMT</pubDate></item><item><title><![CDATA[Reply to Programm problem nich komplierbar on Sat, 01 Nov 2008 16:14:05 GMT]]></title><description><![CDATA[<p>HI,<br />
vielen vielen Dank. Nächstes mal werde ich die Tags verwenden, wieder was dazu gelernt.<br />
Ich habe gleich noch eine frage: ich soll auch noch den Monat anzeigen in dem die hächste und niedrigste temperatur war. wie mach ich des?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1608617</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1608617</guid><dc:creator><![CDATA[Playmuckel]]></dc:creator><pubDate>Sat, 01 Nov 2008 16:14:05 GMT</pubDate></item><item><title><![CDATA[Reply to Programm problem nich komplierbar on Sat, 01 Nov 2008 16:20:47 GMT]]></title><description><![CDATA[<p>U-Boot schrieb:</p>
<blockquote>
<p>Die Funktionen sind doch vor der main() deklariert, sieht man nur so schlecht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_tongue"
      title=":P"
      alt="😛"
    /></p>
<p>[...] die Funktion muss schon mit gleichem Namen deklariert und definiert werden, Bezeichner sind in C++ case-sensitive.</p>
</blockquote>
<p>Eben, sie wurde also <strong>nicht</strong> deklariert. :p</p>
<p>Playmuckel schrieb:</p>
<blockquote>
<p>Ich habe gleich noch eine frage: ich soll auch noch den Monat anzeigen in dem die hächste und niedrigste temperatur war. wie mach ich des?</p>
</blockquote>
<p>Erkundige dich mal über <code>std::min()</code> und <code>std::max()</code> , zum Beispiel auf <a href="http://www.cplusplus.com/reference" rel="nofollow">cplusplus.com</a>.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1608622</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1608622</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Sat, 01 Nov 2008 16:20:47 GMT</pubDate></item><item><title><![CDATA[Reply to Programm problem nich komplierbar on Sat, 01 Nov 2008 16:24:56 GMT]]></title><description><![CDATA[<blockquote>
<p>Eben, sie wurde also nicht deklariert.</p>
</blockquote>
<p>Die Funktion, die er aufruft schon :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1608627</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1608627</guid><dc:creator><![CDATA[JustAnotherNoob]]></dc:creator><pubDate>Sat, 01 Nov 2008 16:24:56 GMT</pubDate></item><item><title><![CDATA[Reply to Programm problem nich komplierbar on Tue, 04 Nov 2008 19:49:44 GMT]]></title><description><![CDATA[<p>Hallo,<br />
mein problem ist noch dass ich bei der average tem immer 0 angezeigt bekomme. Was mache ich falsch?</p>
<pre><code class="language-cpp">// This programm calculates average temperature
#include &lt;iostream&gt;
#include &lt;iomanip&gt;
using namespace std;

struct temp
{
    double temp [12];
    double rainfall [12]; 
}; 
double SumArrayR (double[], int);

double gethighestR (double [], int);

double getlowestR (double [], int);

double gethighestTemp (double[], int);

double getlowestTemp (double[], int);

double SumArrayTemp (double[], int);

int main ()
{
    const int months = 12;
        double rainfall [months],
           temp [months],
           totalR,
           highestR,
           lowestR,
           averageR,
           totalTemp,
           highestTemp,
           lowestTemp,
           averageTemp;
    //Get the rainamount of every months
    cout &lt;&lt; &quot;Enter the amount of rain for every months.\n&quot;;
    for (int count = 0; count &lt; months; count++)
    {
        cout &lt;&lt; &quot;Months&quot; &lt;&lt; (count +1) &lt;&lt;&quot;: &quot;;
        cin &gt;&gt; rainfall [count];
        }
    // Get the temperature of every months
    cout &lt;&lt; &quot;Enter the average temperature of every months. \n&quot;;
    for (int count = 0; count &lt; months; count++)
    {
        cout &lt;&lt; &quot;Months&quot; &lt;&lt; (count +1) &lt;&lt;&quot;: &quot;;
        cin &gt;&gt; temp [count];
        }
        totalR = SumArrayR (rainfall, months);

        averageR = totalR/ months;

        highestR = gethighestR (rainfall, months);

        lowestR = getlowestR (rainfall, months);

        averageTemp = totalTemp/ months;

        highestTemp = gethighestTemp (temp, months);

        lowestTemp = getlowestTemp (temp, months);

          cout &lt;&lt; fixed &lt;&lt; showpoint &lt;&lt; setprecision (2);
        cout &lt;&lt; &quot;The total amount of rainfall is &quot; &lt;&lt; totalR &lt;&lt; endl;
        cout &lt;&lt; &quot;The average amount of rainfall per month is &quot; &lt;&lt; averageR &lt;&lt; endl;
        cout &lt;&lt; &quot;The highest amount of rainfall is &quot; &lt;&lt; highestR &lt;&lt; endl;
        cout &lt;&lt; &quot;The lowest amount of rainfall is &quot; &lt;&lt; lowestR &lt;&lt; endl;
        cout &lt;&lt; &quot;The average temperature was &quot; &lt;&lt; averageTemp &lt;&lt; endl;
        cout &lt;&lt; &quot;The lowest temperature was &quot; &lt;&lt; lowestTemp &lt;&lt; endl;
        cout &lt;&lt; &quot;The highest temperature was &quot; &lt;&lt; highestTemp &lt;&lt; endl;
        getchar();

   std::cin.clear();
    std::cin.ignore(std::cin.rdbuf()-&gt;in_avail());
    std::cin.get(); 
        return 0;
        }
        double SumArrayR (double array [], int size)
        {
                           double totalR = 0;
               for (int count = 0; count &lt; size; count++)
               totalR += array [count];
               return totalR;
               }

        double gethighestR (double array [], int size)
        {
               double highestR;
               highestR = array [0];
               for (int count = 1; count &lt; size; count++)
               {
                   if (array [count] &gt; highestR)
                   highestR = array[count];
                   }
                   return highestR;
                   }

        double getlowestR (double array[], int size)
        {
               double lowestR;
               lowestR = array [0];

               for ( int count = 1; count &lt; size; count++)
               {
                   if (array[count] &lt; lowestR)
                   lowestR =  array[count];
                   }
                   return lowestR;
                   }

        double gethighestTemp (double array [], int size)
        {
                double highestTemp;
                 highestTemp = array [0];
                 for (int count = 1; count &lt; size; count++)
                 {
                     if (array [count] &gt; highestTemp)
                 highestTemp= array [count];
                 }
                 return highestTemp;
                 }
        double getlowestTemp (double array [], int size)
        {
             double lowestTemp;
             lowestTemp = array [0];
             for (int count = 1; count &lt; size; count++)
             {  
                 if (array [count] &lt; lowestTemp)
                 lowestTemp = array[count];
                 }
                 return lowestTemp;
                 }
            double  SumArrayTemp (double array [], int size)
        {
                           double totalTemp = 0;
               for (int count = 0; count &lt; size; count++)
               totalTemp += array [count];
               return totalTemp;
               }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1610264</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1610264</guid><dc:creator><![CDATA[Playmuckel]]></dc:creator><pubDate>Tue, 04 Nov 2008 19:49:44 GMT</pubDate></item><item><title><![CDATA[Reply to Programm problem nich komplierbar on Tue, 04 Nov 2008 19:51:15 GMT]]></title><description><![CDATA[<p>Das heißt kombelürpar</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1610266</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1610266</guid><dc:creator><![CDATA[PS_]]></dc:creator><pubDate>Tue, 04 Nov 2008 19:51:15 GMT</pubDate></item><item><title><![CDATA[Reply to Programm problem nich komplierbar on Tue, 04 Nov 2008 19:59:35 GMT]]></title><description><![CDATA[<p>Fehler gefunden. Aber trotzdem danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1610271</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1610271</guid><dc:creator><![CDATA[Playmuckel]]></dc:creator><pubDate>Tue, 04 Nov 2008 19:59:35 GMT</pubDate></item><item><title><![CDATA[Reply to Programm problem nich komplierbar on Tue, 04 Nov 2008 20:05:03 GMT]]></title><description><![CDATA[<p>Playmuckel schrieb:</p>
<blockquote>
<p>Fehler gefunden.</p>
</blockquote>
<p>Gut, das hätte dir so kaum jemand gemacht.</p>
<p>Nur den relevanten Code zu posten könnte mehr Leute dazu animieren, dir zu helfen... <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="😉"
    /><br />
Oder bei solchen Dingen ist auch der Debugger eine gute Wahl.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1610276</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1610276</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Tue, 04 Nov 2008 20:05:03 GMT</pubDate></item></channel></rss>