You already understand it correctly, as shown by your post #8.
The crux of my argument has less to do with C not supporting OOP but with C supporting the subset of OOP described in your essay....
Type: Posts; User: laserlight
You already understand it correctly, as shown by your post #8.
The crux of my argument has less to do with C not supporting OOP but with C supporting the subset of OOP described in your essay....
However, Stroustrup has stated on the record that "object-oriented programming is a style of programming originating with Simula (about 40 years ago!) relying of encapsulation, inheritance, and...
I gather that your main point is that C does not natively support object oriented programming. The thing is, your explanation and example does not support the claim since the notion of OOP at that...
Moved to General Discussions.
EDIT:
I think that it would be better to refer a beginner to a full blown OOP tutorial instead of trying to cover its basics with nearly a third of an article that...