Difference between revisions of "CtoC++"

From SourceWiki
Jump to navigation Jump to search
Line 11: Line 11:
 
svn co http://source.ggy.bris.ac.uk/subversion-open/CtoC++/trunk ./CtoC++
 
svn co http://source.ggy.bris.ac.uk/subversion-open/CtoC++/trunk ./CtoC++
 
</pre>
 
</pre>
 +
 +
Assume basic linux skills as outlined in [[Linux1]].
  
 
=Cutting to the Chase: Classes and Encapsulation=
 
=Cutting to the Chase: Classes and Encapsulation=

Revision as of 17:03, 2 September 2009

CtoC++: Upgrading to Object Oriented C

Introduction

This tutorial carries on where StartingC left off.

To get the material, cut and paste the contents of the box below onto your command line.

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

Assume basic linux skills as outlined in Linux1.

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.