Difference between revisions of "CtoC++"

From SourceWiki
Jump to navigation Jump to search
Line 3: Line 3:
  
 
=Introduction=
 
=Introduction=
 +
 +
This tutorial carries on where [StartingC] left off.
  
 
<pre>
 
<pre>

Revision as of 17:01, 2 September 2009

CtoC++: Upgrading to Object Oriented C

Introduction

This tutorial carries on where [StartingC] left off.

svn co http://source.ggy.bris.ac.uk/subversion-open/CtoC++/trunk ./CtoC++

Cutting to the Chase: Classes and Encapsulation

cd CtoC++/examples/example1
make

We go a step further in bundling stuff together Weighing the Earth example public, private and interfaces classes as building blocks, glue code and lego bricks

More on Methods

Constructors, destructors, overloading

Inheritance

template classes, virtual etc.