Re: OOP



On 2008-06-30 17:27:05 +0100, campyhapper@xxxxxxxxx said:

Hi folks,

I tend to prefer C, and of course I know that structs
can be used in C to achieve something like
an object-oriented design. And I prefer C in part
because C++ has, I think, grown into a bit of a
monster wherein readability is sacrificed.
But I wonder, has anyone ever tried to create a
sort of lite version of C++, a C+ if you will, that adds
to C just a few key features and disallows things
like templates, multiple inheritance and the like?

Thanks.

There is a book called Object Orientated Programming in ANSI C. You may want to check it out, not sure how good it is as I have not had a chance to read it (on my list) but if you are interested it is out there.
--
"I disapprove of what you say, but I'll defend to the death your right to say it." - Voltaire

.



Relevant Pages

  • Re: OOP
    ... and of course I know that structs ... an object-oriented design. ... multiple inheritance and the like? ... Here's your cue Jacob. ...
    (comp.lang.c)
  • OOP
    ... and of course I know that structs ... an object-oriented design. ... like templates, multiple inheritance and the like? ...
    (comp.lang.c)
  • Re: OOP
    ... and of course I know that structs ... an object-oriented design. ... to C just a few key features and disallows things ... The language will work just as well. ...
    (comp.lang.c)