<?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[C++ Aha! Moments]]></title><description><![CDATA[<p>Scott Meyers' shares his Most Important Aha! Moments here:</p>
<p><a href="http://www.artima.com/cppsource/top_cpp_aha_moments.html" rel="nofollow">http://www.artima.com/cppsource/top_cpp_aha_moments.html</a></p>
<p>It would be nice to hear what your most important &quot;Aha!&quot; moments are.. <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>
<p>Please try to pick atleast 5.. it would be really nice to see posts from everyone!! :xmas1:</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/168707/c-aha-moments</link><generator>RSS for Node</generator><lastBuildDate>Mon, 28 Sep 2026 04:33:18 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/168707.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 Dec 2006 21:13:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to C++ Aha! Moments on Tue, 26 Dec 2006 21:13:09 GMT]]></title><description><![CDATA[<p>Scott Meyers' shares his Most Important Aha! Moments here:</p>
<p><a href="http://www.artima.com/cppsource/top_cpp_aha_moments.html" rel="nofollow">http://www.artima.com/cppsource/top_cpp_aha_moments.html</a></p>
<p>It would be nice to hear what your most important &quot;Aha!&quot; moments are.. <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>
<p>Please try to pick atleast 5.. it would be really nice to see posts from everyone!! :xmas1:</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1198225</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1198225</guid><dc:creator><![CDATA[extermina]]></dc:creator><pubDate>Tue, 26 Dec 2006 21:13:09 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Aha! Moments on Tue, 26 Dec 2006 23:05:35 GMT]]></title><description><![CDATA[<p>Yeah, okay let's start:</p>
<p>First of all, my career isn't overlong, so I would like to explain only one terrible &quot;Acha - Moment&quot; <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>Long, long time ago I wrote on my lovely Terminmanager. I used the Dev-C++ IDE. Anytime, I realised, that there was a really bad bug, and i would to fix it ...</p>
<p>Okay, no sooner said than done ... Damn! I searched over 3 or 4 hours, but there wasn't any bug !! I thought, &quot;how the hell is it possible ?!?&quot; <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f621.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--pouting_face"
      title=":rage:"
      alt="😡"
    /></p>
<p>Hmm, another minutes elapsed ... till I wrote some extra, own bugs to check, whether the compiler did even compile that stuff! And what happen ??</p>
<p>The stupid compiler didn't note any modification of the code! Later I erased all project - files, including the *.obj and the *.exe. In fact, look at that, it works abruptly ! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /><br />
Damn, it was really only the compiler, who was broken ...<br />
After that I was really worned out. But now I use Code::Blocks, nomore Dev-C++ <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>
<p>Greetings, mikey.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1198261</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1198261</guid><dc:creator><![CDATA[mikey]]></dc:creator><pubDate>Tue, 26 Dec 2006 23:05:35 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Aha! Moments on Wed, 27 Dec 2006 14:55:00 GMT]]></title><description><![CDATA[<p>Here's what I can think of, hopefully without duplicating ideas. Some are &quot;Aha!&quot;, others &quot;Oh, of course!&quot;, and there will be the &quot;Duh!&quot; items. Each one is responsible for taking my knowledge and experience to the next level.</p>
<p>On C++, understanding the simple stuff:</p>
<p>* templates... which then lead to STL, boost, and others<br />
* const variable vs. const function, and why we use mutable<br />
* using anonymous code blocks { } to localize variables<br />
* why references are better than pointers in many cases</p>
<p>On Algorithms:</p>
<p>* Creating a ring buffer in video memory to simulate unlimited 1 dimensional scrolling, my first real video effect<br />
* Using recursion instead of iteration to vastly simplify problems<br />
* Using design patterns, which I've always used without even knowing, starting with MVC<br />
* Lazy lists, as explained in Perl</p>
<p>On platforms:</p>
<p>* Finally understanding Win32 and all its crazy disorganized array of functions, #defines, and special types.<br />
* Finally understanding how a native DLL works<br />
* Finally understanding COM (some of it anyway)<br />
* Finally giving in to adopting .NET and C# as a usable platform that doesn't suck</p>
<p>On attitudes:</p>
<p>* You don't know everything. Someone always knows more. Your ignorance to this fact will bite you later in life.<br />
* However, you probably know more than most others and don't realize it yet. There are tons of unqualified people out there competing for your job.<br />
* Be creative, inventive, and don't stop learning something new. Don't let your workplace pigeon-hole you into thinking you can only succeed by going into management, or that you're not smart enough for the job. If you give in, you find yourself 5 years later thinking &quot;I could've done X, Y, or Z but I didn't, and now it's too late&quot;.<br />
* Keep your work/life balance in check at all times. Don't work crazy hours just for the money. If even on the weekend, you don't have the drive to work on your code, web site, or some other project, you're probably working too hard.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1198520</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1198520</guid><dc:creator><![CDATA[Oha!]]></dc:creator><pubDate>Wed, 27 Dec 2006 14:55:00 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Aha! Moments on Wed, 27 Dec 2006 15:10:21 GMT]]></title><description><![CDATA[<p>I might add one (a big one) on algorithms:</p>
<p>The first time I came across a struct declaration of a linked list item (at the time, I neither knew C++ nor did I understand the concept of pointers). Went something like this:</p>
<pre><code class="language-cpp">struct Item {
    int data;
    Item* next;
};
</code></pre>
<p>Although I didn't know C++ or pointers I immediately understood what the code was good for and what the deeper meaning of it was.</p>
<p>That was quite some epiphany.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1198528</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1198528</guid><dc:creator><![CDATA[Konrad Rudolph]]></dc:creator><pubDate>Wed, 27 Dec 2006 15:10:21 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Aha! Moments on Wed, 27 Dec 2006 15:28:37 GMT]]></title><description><![CDATA[<p>- Objektorientierung im allgemeinen und im besonderen<br />
- Die Erkenntnis, dass gute Schnittstellen immer minimale Schnittstellen sind<br />
- Das Verständnis, dass Templates Abhängigkeiten reduzieren (obwohl alles im H-File steht!)<br />
- Die Trennung von Stream und Device in der iostream-Library<br />
- boost.spirit<br />
- Wer ist Oha! ?</p>
<p>Gruß<br />
Werner</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1198538</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1198538</guid><dc:creator><![CDATA[Werner Salomon]]></dc:creator><pubDate>Wed, 27 Dec 2006 15:28:37 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Aha! Moments on Thu, 28 Dec 2006 11:47:40 GMT]]></title><description><![CDATA[<p>When I understood that C++ ist only a PDF document and not a compiler or IDE.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1198920</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1198920</guid><dc:creator><![CDATA[krif]]></dc:creator><pubDate>Thu, 28 Dec 2006 11:47:40 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Aha! Moments on Thu, 28 Dec 2006 11:54:21 GMT]]></title><description><![CDATA[<p>Typlisten *träum*</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1198923</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1198923</guid><dc:creator><![CDATA[Schildkroete]]></dc:creator><pubDate>Thu, 28 Dec 2006 11:54:21 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Aha! Moments on Fri, 28 Sep 2007 11:08:47 GMT]]></title><description><![CDATA[<p>krif schrieb:</p>
<blockquote>
<p>When I understood that C++ ist only a PDF document and not a compiler or IDE.</p>
</blockquote>
<p><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="😃"
    /> <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/1374323</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1374323</guid><dc:creator><![CDATA[Spehzi]]></dc:creator><pubDate>Fri, 28 Sep 2007 11:08:47 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Aha! Moments on Fri, 28 Sep 2007 11:26:54 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>also sich selbst auf den 2. (“The Most Important C++ Books...Ever”) und 3. (“The Most Important C++ People...Ever”) Platz zu setzen, zeugt schon von gesundem Selbstbewusstsein. <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 />
(nicht, dass ich ihm damit inhaltlich widersprechen wollte)</p>
<p>Gruß,</p>
<p>Simon2.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1374336</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1374336</guid><dc:creator><![CDATA[Simon2]]></dc:creator><pubDate>Fri, 28 Sep 2007 11:26:54 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Aha! Moments on Fri, 28 Sep 2007 12:17:51 GMT]]></title><description><![CDATA[<p>Simon2 schrieb:</p>
<blockquote>
<p>Hi,</p>
<p>also sich selbst auf den 2. (“The Most Important C++ Books...Ever”) und 3. (“The Most Important C++ People...Ever”) Platz zu setzen, zeugt schon von gesundem Selbstbewusstsein.</p>
</blockquote>
<p>Und wenn dus genau nachgelesen hast dann weisst du auch dass er dort keine Platz 1-5 Unterscheidung macht sondern einfach nur die Top5 in chronologischer Reihenfolge auflistet <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>
<p>Was mich fasziniert ist, dass der Mann nie in der Produktion gewesen ist sondern sich als aussenstehenden Beobachter sieht.</p>
<p>__________________________</p>
<p>My Aha! Monments:<br />
- The use of policy classes<br />
- The virtuosity in application of templates and operator overloading with boost::spirit parsers<br />
- The curiously recurring template pattern (CRTP)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1374370</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1374370</guid><dc:creator><![CDATA[pumuckl]]></dc:creator><pubDate>Fri, 28 Sep 2007 12:17:51 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Aha! Moments on Fri, 28 Sep 2007 12:32:21 GMT]]></title><description><![CDATA[<p>pumuckl schrieb:</p>
<blockquote>
<p>...<br />
Und wenn dus genau nachgelesen hast dann weisst du auch dass er dort keine Platz 1-5 Unterscheidung macht sondern einfach nur die Top5 in chronologischer Reihenfolge auflistet <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>
</blockquote>
<p>Habe ich gelesen ... und war deswegen umso erstaunter !</p>
<p>Gruß,</p>
<p>Simon2.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1374379</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1374379</guid><dc:creator><![CDATA[Simon2]]></dc:creator><pubDate>Fri, 28 Sep 2007 12:32:21 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Aha! Moments on Fri, 28 Sep 2007 17:38:01 GMT]]></title><description><![CDATA[<p>Leute, der Thread darf bald sein einjähriges Jubiläum feiern. Guckt mal aufs Datum <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/1374565</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1374565</guid><dc:creator><![CDATA[mikey]]></dc:creator><pubDate>Fri, 28 Sep 2007 17:38:01 GMT</pubDate></item></channel></rss>