I need to explain it better.
When the student reaches the chapter 12, he faces the following situation: He can't even compile the first example, because there are a lot of
problems with the official library of PPP second edition.
I believe that there was some mistake when the files were uploaded, example: It was uploaded old files, not the latest files.
There are workarounds for this situation, example:
https://groups.google.com/forum/#!topic/ppp-public/BtlzdWGuQpQ
But it was not sufficient. So, I got the library for 1st edition (that works) and worked on it in order to match with the book 2nd edition and it
being able to compile in several platforms as FreeBSD, Linux, Windows, MacOSX.
My work is a result of
initial Stroustrup 1st edition library +
Code printed in the book 2nd edition +
Bug corrections +
Corrections to compile in several platforms
It would be unfair to say that it is my library, when I say "my library", it is just a way to separate things better. I prefer call it of Ch12new library.
Of course, the Stroustrup GUI library is not a General professional GUI library like FLTK, Qt, WxWidgets, but nobody is saying that. It is only a good
manner that the author found in order to introduces the students to topics like:
- callbacks
- polymorphism
- inheritance
- interfaces
In this way, the student can create Shapes which inherits class Shape and has a virtual method "draw_lines" in order to "system" draw the Student's
shape on the screen using an uniform interface receiving Shape*.
When I said "have a lot of problems" I'm trying to say that it simply does not compile or it doesn't match with the book 2nd edition.