next up previous
Next: Big integer Up: C++ Advanced Course Previous: Class in C++

Advanced examples

In this section we present three examples. In all the examples you should implement a class on the base of user specification. This specification is given in the form of existing client code. In other words: there is a main() function already using your class. You should implement the class which makes the client code valid.

You may do this in iterative steps. In the client code there are sections between two to five (in correspondig the difficulty of the given problem). You can uncomment a given section, when you have implemented the corresponding part of the class. You shouldn't do any other changes in the main files.

Do practicing and enjoy C++!



Subsections

Porkoláb Zoltán 2001-09-03