<?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 bei 2 aufgaben]]></title><description><![CDATA[<p><a href="http://www.abload.de/img/23zmfa.jpg" rel="nofollow">http://www.abload.de/img/23zmfa.jpg</a></p>
<p>kann mir einer da mal behilflich sein ???</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/280936/hilfe-bei-2-aufgaben</link><generator>RSS for Node</generator><lastBuildDate>Sun, 23 Aug 2026 22:37:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/280936.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Jan 2011 11:28:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 11:28:12 GMT]]></title><description><![CDATA[<p><a href="http://www.abload.de/img/23zmfa.jpg" rel="nofollow">http://www.abload.de/img/23zmfa.jpg</a></p>
<p>kann mir einer da mal behilflich sein ???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2011038</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011038</guid><dc:creator><![CDATA[Taquito]]></dc:creator><pubDate>Mon, 24 Jan 2011 11:28:12 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 11:31:54 GMT]]></title><description><![CDATA[<p>Was hast du denn bis jetzt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2011041</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011041</guid><dc:creator><![CDATA[knivil]]></dc:creator><pubDate>Mon, 24 Jan 2011 11:31:54 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 12:07:17 GMT]]></title><description><![CDATA[<p>#include&lt;iostream&gt;<br />
#include&lt;iomanip&gt;</p>
<p>using namespace std;</p>
<p>int main()<br />
{<br />
float horizontal=0;<br />
float vertical=0;</p>
<p>for (int i=0; i&lt;100; i++)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2011052</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011052</guid><dc:creator><![CDATA[Taquito]]></dc:creator><pubDate>Mon, 24 Jan 2011 12:07:17 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 14:03:46 GMT]]></title><description><![CDATA[<p>aufgabe2:</p>
<p>*edit<br />
code ist mist !!!</p>
<p>Gruss Sheldor</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2011055</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011055</guid><dc:creator><![CDATA[Sheldor]]></dc:creator><pubDate>Mon, 24 Jan 2011 14:03:46 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 12:18:30 GMT]]></title><description><![CDATA[<p>Stichworte: &lt;iostream&gt;, &lt;iomanip&gt;, cout, setw, setprecision</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2011059</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011059</guid><dc:creator><![CDATA[kermitDerFrosch]]></dc:creator><pubDate>Mon, 24 Jan 2011 12:18:30 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 12:20:21 GMT]]></title><description><![CDATA[<p>Taquito schrieb:</p>
<blockquote>
<p>for (int i=0; i&lt;100; i++)</p>
</blockquote>
<pre><code>for(float y = 0.0; y &lt; 100.0; y += 0.1)
{
  for(float x = 0.0; x &lt; 1.0; x += 0.1)
{
    // ...
  }
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2011061</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011061</guid><dc:creator><![CDATA[kermitDerFrosch]]></dc:creator><pubDate>Mon, 24 Jan 2011 12:20:21 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 12:29:39 GMT]]></title><description><![CDATA[<p>Hier die Lösung von Aufgabe 1 wie dein Lehrer sie sehen will. Wer braucht schon Schleifen? Oder Berechnungen zur Laufzeit?</p>
<pre><code class="language-cpp">#include&lt;iostream&gt;

template&lt;int L, int C&gt; class columnprinter
{
 public:
  void operator()(){
    if (L&lt;10) std::cout&lt;&lt;' ';
    std::cout&lt;&lt;std::fixed&lt;&lt;L+(C*0.1)&lt;&lt;&quot;  &quot;;
    columnprinter&lt;L,C+1&gt;()();
  }
};

template&lt;int L&gt; class columnprinter&lt;L,10&gt;
{
public:
  void operator()(){
    std::cout&lt;&lt;'\n';
  }
};

template&lt;int L&gt; class lineprinter
{
public:
  void operator()(){
    columnprinter&lt;L,0&gt;()();
    lineprinter&lt;L+1&gt;()();
  }
};

template&lt;&gt; class lineprinter&lt;100&gt;
{
public:
  void operator()(){
  }
};

int main()
{
  std::cout.precision(1);
  lineprinter&lt;0&gt;()();
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2011064</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011064</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 24 Jan 2011 12:29:39 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 12:27:20 GMT]]></title><description><![CDATA[<p>Gefällt mir <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2011066</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011066</guid><dc:creator><![CDATA[kermitDerFrosch]]></dc:creator><pubDate>Mon, 24 Jan 2011 12:27:20 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 12:55:29 GMT]]></title><description><![CDATA[<p>ist meins jetzt falsch ???? meins siehst ja etwas anders aus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2011082</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011082</guid><dc:creator><![CDATA[Taquito]]></dc:creator><pubDate>Mon, 24 Jan 2011 12:55:29 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 12:56:58 GMT]]></title><description><![CDATA[<p>Taquito schrieb:</p>
<blockquote>
<p>ist meins jetzt falsch ???? meins siehst ja etwas anders aus</p>
</blockquote>
<p>Nun, macht deines das was du willst?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2011083</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011083</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 24 Jan 2011 12:56:58 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 13:01:09 GMT]]></title><description><![CDATA[<p>leider nein ich arbeite noch drann aber weil bei dir die befehle die kenne ich nicht deshalb habe ich nachgefragt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2011084</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011084</guid><dc:creator><![CDATA[Taquito]]></dc:creator><pubDate>Mon, 24 Jan 2011 13:01:09 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 13:13:23 GMT]]></title><description><![CDATA[<p>Taquito schrieb:</p>
<blockquote>
<p>leider nein ich arbeite noch drann aber weil bei dir die befehle die kenne ich nicht deshalb habe ich nachgefragt</p>
</blockquote>
<p>Vielleicht solltest du das mit dem &quot;wie dein Lehrer sie sehen will&quot; nicht so 100% ernst nehmen. Es gab ja auch ein paar andere Vorschläge.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2011093</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011093</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 24 Jan 2011 13:13:23 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 13:20:47 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/19375">@SeppJ</a><br />
Mal wieder ein Danke für deinen Lösungsvorschlag.<br />
Gefällt mir ebenfalls sehr gut. Solche einfachen Aufgaben und Lösungen helfen meine starre Denkweise ab und an aufzubrechen (habe natürlich auch erstmal an Schleifen gedacht).</p>
<p>thumbs up <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/2011105</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011105</guid><dc:creator><![CDATA[inter2k3]]></dc:creator><pubDate>Mon, 24 Jan 2011 13:20:47 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 13:25:22 GMT]]></title><description><![CDATA[<p>zu aufgabe 3</p>
<pre><code class="language-cpp">#include&lt;iostream&gt;
#include&lt;fstream&gt;
#include&lt;iomanip&gt;
#include&lt;vector&gt;
#include&lt;string&gt;

using namespace std;

struct Messwert
{
	int x;
};

int mittlerenAbstand (vector&lt;Messwert&gt; x)
{
	int sum=0;
	int abstand;

	for ( int i=0; i&lt;100; i++)
	{
		int absolut;
		absolut=abs(x[i+1].x - x[i].x);
		sum+=absolut;
	}
	abstand=sum/99;

	return abstand;

}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2011107</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011107</guid><dc:creator><![CDATA[Taquito]]></dc:creator><pubDate>Mon, 24 Jan 2011 13:25:22 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 13:32:35 GMT]]></title><description><![CDATA[<p><a href="http://www.youtube.com/watch?v=GTKDM8UzOhA" rel="nofollow">http://www.youtube.com/watch?v=GTKDM8UzOhA</a></p>
<p>Jetzt mal im Ernst. Wenn du keine Fragen stellst, kann dir auch keiner helfen. Was ist dein Problem? Wo hakt es genau? Wir können alle (noch) nicht hellsehen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2011114</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011114</guid><dc:creator><![CDATA[kermitDerFrosch]]></dc:creator><pubDate>Mon, 24 Jan 2011 13:32:35 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 13:52:31 GMT]]></title><description><![CDATA[<p>Hier zu Aufgabe 2 nochmal eine einfache Lösung mit einer leichten Schleife:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
using namespace std;

int main() {
	int temp = 0;
	cout.precision(1);
	cout.setf(ios::fixed,ios::floatfield);
	for(float a = 0.0; a &lt; 99.9; a += 0.1) {
		cout &lt;&lt; a;
		if(a &lt; 10.0) cout &lt;&lt; &quot;  &quot;;
		else cout &lt;&lt; &quot; &quot;;
		temp++;
		if(temp == 10) {cout &lt;&lt; &quot;\n&quot;; temp = 0; }
	}
}
</code></pre>
<p>Ich hab sie einfach genug gehalten, sodass er sie verstehen sollte <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/2011132</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011132</guid><dc:creator><![CDATA[Incocnito]]></dc:creator><pubDate>Mon, 24 Jan 2011 13:52:31 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 13:51:47 GMT]]></title><description><![CDATA[<p>SeppJ: Das ist ein ganz netter Anfang, aber die ganzen Funktionsaufrufe und Formatierung zur Laufzeit sind doch ziemlich ineffizient. Glücklicherweise hat Boost genau das richtige dafür: <a href="http://www.boost.org/doc/libs/1_45_0/libs/preprocessor/doc/index.html" rel="nofollow">Boost.Preprocessor</a>.</p>
<p>Ich schlage Folgendes vor:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;

#include &lt;boost/preprocessor/seq/elem.hpp&gt;
#include &lt;boost/preprocessor/seq/for_each.hpp&gt;
#include &lt;boost/preprocessor/seq/for_each_product.hpp&gt;
#include &lt;boost/preprocessor/seq/to_tuple.hpp&gt;
#include &lt;boost/preprocessor/repetition/repeat_from_to.hpp&gt;
#include &lt;boost/preprocessor/control/if.hpp&gt;
#include &lt;boost/preprocessor/comparison/equal.hpp&gt;
#include &lt;boost/preprocessor/comparison/less.hpp&gt;

#define STRINGIFY_AUX(x) #x
#define STRINGIFY(x) STRINGIFY_AUX(x)

#define MAKE_SEQ_ELEMENT(z, n, text) (n)

#define s_100 BOOST_PP_REPEAT_FROM_TO(0, 100, MAKE_SEQ_ELEMENT, _)
#define s_10  BOOST_PP_REPEAT_FROM_TO(0,  10, MAKE_SEQ_ELEMENT, _)

#define FORMAT_NUMBER(r, product) \
  BOOST_PP_IF(BOOST_PP_LESS(BOOST_PP_SEQ_ELEM(0, product), 10), &quot; &quot;, &quot;&quot;) \
  STRINGIFY(BOOST_PP_SEQ_ELEM(0, product)) &quot;.&quot; STRINGIFY(BOOST_PP_SEQ_ELEM(1, product)) \
  BOOST_PP_IF(BOOST_PP_EQUAL(BOOST_PP_SEQ_ELEM(1, product), 9), &quot;\n&quot;, &quot;  &quot;)

int main() {
  std::cout &lt;&lt; BOOST_PP_SEQ_FOR_EACH_PRODUCT(FORMAT_NUMBER, (s_100)(s_10));
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2011133</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011133</guid><dc:creator><![CDATA[seldon]]></dc:creator><pubDate>Mon, 24 Jan 2011 13:51:47 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 14:03:57 GMT]]></title><description><![CDATA[<p>Hier noch was für Aufgabe 3: Ich habe mich dafür entschieden die unnötige Beschränkung auf 100 Elemente und die unnötigen Zwischenergebnisse wegzulassen.</p>
<pre><code class="language-cpp">#include&lt;iostream&gt;
#include&lt;iterator&gt;
#include&lt;fstream&gt;
#include&lt;algorithm&gt;
#include&lt;cmath&gt;

using namespace std;

struct abs_dist_counter
{
private:
  double counter;
  int N;
public:
  abs_dist_counter():counter(0.), N(0){}
  bool operator()(double x, double y) {++N; counter+=fabs(x-y); return false;}
  double mean_value(){return counter/N;}
};

int main()
{
  ifstream in(&quot;DRUCK.DAT&quot;);
  istream_iterator&lt;double&gt; begin(in), end;
  abs_dist_counter result;
  adjacent_find&lt;istream_iterator&lt;double&gt;, abs_dist_counter&amp; &gt; (begin, end, result);
  cout &lt;&lt; &quot;Durchschnittlicher Abstand: &quot; &lt;&lt; result.mean_value() &lt;&lt;'\n';
}
</code></pre>
<p>Ich liebe es, wenn die Liste der includes so lang ist wie das eigentliche Programm. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /> Dummerweise habe ich keine Standardfunktion für den Abstand zweier Werte gefunden, daher der etwas längliche Funktor.</p>
<p>@seldon: <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2011140</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011140</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 24 Jan 2011 14:03:57 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 14:50:28 GMT]]></title><description><![CDATA[<p>Ich finde es nicht OK, einem Anfänger Code zu geben, den er gar nicht verstehen kann. Macht Beispiel 2 einfach mit Schleifen, auch wenn es weniger effizient ist.<br />
Er muss den Code verstehen können!</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;cmath&gt;

#define _0x98BE0 3.1415926535897932384626433832795

int main()
{
    const int* const _0x98BE1 = new int((static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1))) &lt;&lt; (static_cast&lt;int&gt;(_0x98BE0 + 1) ^ static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1))))) + (1 &lt;&lt; (1 &lt;&lt; (1 &lt;&lt; 1))) - (1 &lt;&lt; 1));

    unsigned char _0x98BE2 = ((1 &lt;&lt; 1) &gt;&gt; 1 &amp; 1 &lt;&lt; 1 &amp; 1 &lt;&lt; (1 &lt;&lt; 1)) ^ ((((1 &lt;&lt; 1) &gt;&gt; static_cast&lt;int&gt;(std::sin(_0x98BE0 / (static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1))) &lt;&lt; 1))) &amp; 1 &lt;&lt; 1 &amp; 1 &lt;&lt; (1 &lt;&lt; 1)) * (1 &lt;&lt; (1 &lt;&lt; 1))) &gt;&gt; (1 &lt;&lt; 1));
    _0x98BE3:
    if(_0x98BE2 &lt; ((1 | (1 &lt;&lt; 1) ^ (1 &lt;&lt; 1 * static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1))) &lt;&lt; 1)) + ~(static_cast&lt;unsigned&gt;(-static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1)))) - (1 &lt;&lt; static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1)))) ^ 1)))
    {
        unsigned char _0x98BE4 = ((1 &lt;&lt; static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1)))) &gt;&gt; 1 &amp; 1 &lt;&lt; 1 &amp; 1 &lt;&lt; (1 &lt;&lt; 1)) ^ ((((1 &lt;&lt; 1) &gt;&gt; 1 &amp; 1 &lt;&lt; 1 &amp; 1 &lt;&lt; (1 &lt;&lt; 1)) * (static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1))) &lt;&lt; (1 &lt;&lt; 1))) &gt;&gt; (1 &lt;&lt; 1));
        _0x98BE5:
        if(_0x98BE4 &lt; ((1 | (1 &lt;&lt; static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1)))) ^ (1 &lt;&lt; 1 * static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1))) &lt;&lt; 1)) + ~(static_cast&lt;unsigned&gt;(-1) - (1 &lt;&lt; 1) ^ 1)))
        {
            unsigned char _0x98BE6 = ((1 &lt;&lt; 1) &gt;&gt; static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1))) &amp; 1 &lt;&lt; 1 &amp; 1 &lt;&lt; (1 &lt;&lt; 1)) ^ ((((1 &lt;&lt; 1) &gt;&gt; static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1))) &amp; 1 &lt;&lt; 1 &amp; 1 &lt;&lt; (1 &lt;&lt; 1)) * (1 &lt;&lt; (1 &lt;&lt; 1))) &gt;&gt; (1 &lt;&lt; 1));
            _0x98BE7:
            if(_0x98BE6 &lt; ((static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1))) | (1 &lt;&lt; 1) ^ (1 &lt;&lt; static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1)))))) * 1 &lt;&lt; 1)) + ~(static_cast&lt;unsigned&gt;(-1) - (1 &lt;&lt; 1) ^ 1)))
            {
                std::cout &lt;&lt; *const_cast&lt;char*&gt;(&quot;\x09&quot;) &lt;&lt; (_0x98BE2 ? static_cast&lt;char&gt;(_0x98BE2 + 48) : ' ') &lt;&lt; static_cast&lt;int&gt;(_0x98BE4) &lt;&lt; *reinterpret_cast&lt;const char* const&gt;(_0x98BE1) &lt;&lt; static_cast&lt;int&gt;(_0x98BE6);
                if(_0x98BE6 == ((1 | (1 &lt;&lt; static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1)))) ^ (static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1))) &lt;&lt; 1 * 1 &lt;&lt; 1)) + ~(static_cast&lt;unsigned&gt;(-static_cast&lt;int&gt;(std::sin(_0x98BE0 / (1 &lt;&lt; 1)))) - (1 &lt;&lt; 1) ^ 1)) - 1)
                    std::cout &lt;&lt; std::endl;
                ++_0x98BE6;
                goto _0x98BE7;
            }
            ++_0x98BE4;
            goto _0x98BE5;
        }
        ++_0x98BE2;
        goto _0x98BE3;
    }

    delete _0x98BE1;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2011193</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011193</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Mon, 24 Jan 2011 14:50:28 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 15:09:01 GMT]]></title><description><![CDATA[<p>Eine Lösung schöner als die andere <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>
<p>@Threadersteller: Du siehst was passiert, wenn man einfach nur Aufgaben hinschreibt ohne Fragen zu stellen. Wenn du wirklich geholfen werden willst, empfehle ich eine lösungsorientierteres Vorgehen: Schreib was du vor hast, was du warum gemacht hast, wobei und warum du nicht weiterkommst. Dann wirst du vermutlich sehr schnell Antworten bekommen die dir auch wirklich helfen anstatt fertige Lösungen die du nicht verstehst.<br />
Siehe auch hier:<br />
<a href="http://www.c-plusplus.net/forum/200753" rel="nofollow">http://www.c-plusplus.net/forum/200753</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2011214</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011214</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 24 Jan 2011 15:09:01 GMT</pubDate></item><item><title><![CDATA[Reply to Hilfe bei 2 aufgaben on Mon, 24 Jan 2011 16:19:50 GMT]]></title><description><![CDATA[<p>Ich habe hier nicht nach einer lösung gefragt ichhabe ja selbst hier sachen gepostet mit vorschlägen</p>
<p>trotzdem danke für eure Hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2011282</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2011282</guid><dc:creator><![CDATA[Taquito]]></dc:creator><pubDate>Mon, 24 Jan 2011 16:19:50 GMT</pubDate></item></channel></rss>