How can I make sure I'm writing C++ like it's meant to be written?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://programmers.stackexchange.com/questions/117766/any-tips-to-learn-c-for-one-who-knows-the-language-already">How can I learn to write idiomatic C++?</a>  </p>
</blockquote>



<p>Besides the obvious answers of "use g++ instead of gcc, and cout instead of printf", how can I ensure that my toy project is teaching me proper C++ paradigms and patterns?  </p>

<p>Backstory: I've never written a line of C++ beyond Hello World, and I've chosen what should be a straightforward (albeit somewhat complicated) sample project to help me learn the language.  I've decided that the goal I want to end at is a CLI Huffman encoder.  It doesn't have to  compete with modern compressors in speed or efficiency, it just seemed like a project that would help me touch many aspects of the language at once.</p>

<p>So, before I dive into this project, what are some things I should keep in mind?  A lot of what I'm going to be doing is research online, and I have a fear that a lot of tutorials are C-in-C++.  I'm looking for answers like: "if you're using malloc, you're probably doing something wrong" or "you should probably be using <code>boost</code> or something similar".  I'm also looking for suggestions like "if I were writing this, I'd use a template around x".</p>
