Header and cpp or just cpp files - best practise?
<p>Looking around at different code bases I see a variety of styles:</p>

<ol>
<li><p>Class "interfaces" defined in header file and the actual impl in a cpp file. In this approach the headers look well defined and easy to read but the cpp files look confusing as it's just a list of methods.</p></li>
<li><p>The second approach i see is just to put everything in a single class cpp file. These class files contain the definition and actual method impls in the body of the class definition. This approach looks better to me (more like Java and c#).</p></li>
</ol>

<p>Which style should I be using?</p>
