Tuesday, September 12, 2017

Digest for comp.lang.c++@googlegroups.com - 9 updates in 2 topics

Christiano <christiano@engineer.com>: Sep 12 12:09PM -0300

Errata (my version) is here:
https://chcpp.info/index.php/2017/09/12/programming-principles-and-practice-using-c-2nd-edition-bugs/
 
Working library for chapter 12-16
https://chcpp.info/index.php/2017/07/02/programming-principles-and-practice-using-c-chapter-12-to-16-how-to-compile/
The official library[1] has a lot of problems. In my opinion the library above is the best alternative at the moment.
 
In the chapter about Numerics, use this:
http://stroustrup.com/Programming/PPP2code/Matrix11.h
http://stroustrup.com/Programming/PPP2code/MatrixIO11.h
 
 
 
 
 
[1] http://stroustrup.com/Programming/PPP2code/
Daniel <danielaparker@gmail.com>: Sep 12 08:23AM -0700

On Tuesday, September 12, 2017 at 11:10:09 AM UTC-4, Christiano wrote:
 
> In the chapter about Numerics, use this:
> http://stroustrup.com/Programming/PPP2code/Matrix11.h
 
typedef long Index; // I still dislike unsigned
 
Flibblesticks!
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Sep 12 05:21PM +0100

On 12/09/2017 16:23, Daniel wrote:
>> http://stroustrup.com/Programming/PPP2code/Matrix11.h
 
> typedef long Index; // I still dislike unsigned
 
> Flibblesticks!
 
Unsigned types pervade standard C++ so you "disliking" them is irrelevant.
 
/Flibble
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Sep 12 05:21PM +0100

On 12/09/2017 16:09, Christiano wrote:
> https://chcpp.info/index.php/2017/07/02/programming-principles-and-practice-using-c-chapter-12-to-16-how-to-compile/
 
> The official library[1] has a lot of problems. In my opinion the library
> above is the best alternative at the moment.
 
Stroustrup's "GUI library" is toy and it is not meant to be anything
other than toy.
 
/Flibble
Christiano <christiano@engineer.com>: Sep 12 02:49PM -0300

On 09/12/17 13:21, Mr Flibble wrote:
>> The official library[1] has a lot of problems. In my opinion the library above is the best alternative at the moment.
 
> Stroustrup's "GUI library" is toy and it is not meant to be anything other than toy.
 
> /Flibble
 
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.
Daniel <danielaparker@gmail.com>: Sep 12 12:46PM -0700

On Tuesday, September 12, 2017 at 12:21:38 PM UTC-4, Mr Flibble wrote:
> On 12/09/2017 16:23, Daniel wrote:
 
> Unsigned types pervade standard C++ so you "disliking" them is irrelevant.
 
Me? You mean Stroustrup disliking them.
 
Daniel
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Sep 12 09:03PM +0100

On 12/09/2017 20:46, Daniel wrote:
>> On 12/09/2017 16:23, Daniel wrote:
 
>> Unsigned types pervade standard C++ so you "disliking" them is irrelevant.
 
> Me? You mean Stroustrup disliking them.
 
Appeal to authority is a logical fallacy.
 
/Flibble
Daniel <danielaparker@gmail.com>: Sep 12 01:10PM -0700

On Tuesday, September 12, 2017 at 4:03:54 PM UTC-4, Mr Flibble wrote:
 
> >> Unsigned types pervade standard C++ so you "disliking" them is irrelevant.
 
> > Me? You mean Stroustrup disliking them.
 
> Appeal to authority is a logical fallacy.
 
Me? Appeal? Making statements that don't make sense is also a fallacy.
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Sep 12 11:35AM -0700

You must be born again. If you are not born again, you remain in
your sin and you are going to Hell and will burn in eternal Hell
fire forever. If your sins are forgiven, you are a new creation
that is unlike the world.
 
One God, One Way -- A sermon to change your life forever
https://www.youtube.com/watch?v=6m38NAhi_r4
 
Do you have sin?
You need to be forgiven.
Jesus came to this Earth to forgive you.
Ask Him to forgive you today. Right now. And you will receive
the free gift of eternal life in Heaven with God in a new body
like the angels that does not wear out or tire.
 
Jesus Christ wants to forgive your sin more than He wants to
judge you. But He will judge you if you do not receive this
last ditch effort to save your soul given to you by God in this
world.
 
His sacrifice on the cross is enough for you. Ask Him to forgive
your sin and you will live on after you leave this world.
 
May God pour out the blessing of hearing and understanding upon
your soul.
 
Love you,
Rick C. Hodgin
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com.

No comments: