Tutorial main page - Algorithm-Based - Component-Based - Programming hints -EO documentation

Tutorial:

Solutions of exercises

No, we won't provide any hypertext link directly to the correct code, so you get a chance to find out the solution by yourself without immediately going there  :-)))

What you should do:



What you may do later:

All solutions to exercises are in the same sub-dir of the Tutorial directory than the example files (i.e. Lesson1 for Lesson1, yes!) and are named exerciseN.p.cpp where N is the lesson number and p the exercise number. Hence you may browse through the code, eventually modifying it, and then simply type, in the corresponding directory,
... % make exerciseN.p
which will compile file exerciseN.p.cpp into executable exerciseN.p (for Unix systems: if eventually someone tells me how to do that in Windows, you'll probably end up with an executable file named exerciseN.p.exe).



What you may not do:
Complain that it does not work under Windows :-)

Tutorial main page - Algorithm-Based - Component-Based - Programming hints - EO documentation

Marc Schoenauer

Last modified: Fri Nov 3 18:49:12 CET 2000