News for hackers. Stuff that matters.
Re:Object oriented programming with ANSI-C (1993) by ExpiredLink on Saturday January 04, 2014 @12:39PM (#7011957)
This seems to be the horrible Schreiner book. IIRC, he tries to do OO in C by using a special pre-processor. Sorry, this approach has never been relevant.
Re:Object oriented programming with ANSI-C (1993) by Roboprog on Saturday January 04, 2014 @12:48PM (#7012007)
Sarcasm? The original "C with Classes" was a preprocessor, I believe.
Re:Object oriented programming with ANSI-C (1993) by bitwize on Saturday January 04, 2014 @01:01PM (#7012085)
And then it was found to be inadequate for real work and turned into a separate language.
Re:Object oriented programming with ANSI-C (1993) by UNIXgod on Saturday January 04, 2014 @01:14PM (#7012148)
It was used to bootstrap it. Sounds like real work to me.
Re:Object oriented programming with ANSI-C (1993) by deletes on Saturday January 04, 2014 @12:52PM (#7012035)
Yes a single chapter is dedicated to that, all the code is beforehand explained and then implemented in the preprocessor. Everything can be implemented by hand. The point of the books seems to be mostly educational, if you would decide to actually use oop in serious projects then writing your own preprocessor would solve two problems. The tedious manual table/pointer writing and avoiding mistakes coming from the former.

I would love to get some book recommendation regarding the subject from you.