Difference between revisions of "CtoC++"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
</pre> | </pre> | ||
− | + | In this tutorial we will 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 15:09, 3 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++
In this tutorial we will 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.