Brett McCoy wrote:
>
> On Fri, Jan 23, 2009 at 4:26 PM, Christopher Coale 
> <[email protected] <mailto:chris95219%40gmail.com>> wrote:
>
> > C++ only has support for object-oriented
> > programming (classes). A pointer is simply a number (an integer) so no,
> > it isn't an object. It can, however, point to an object.
>
> That's not true, you can write valid C++ programs without using any
> classes at all and do purely functional programming.
>
> -- Brett
> ----------------------------------------------------------
> "In the rhythm of music a secret is hidden;
> If I were to divulge it, it would overturn the world."
> -- Jelaleddin Rumi
>
>  
Of course. I think the word "only" in my message threw you off. I didn't 
mean that C++ _only_ supports object-oriented programming (that wouldn't 
make sense because it is backwards compatible with C) - I just meant 
that C++ only has support for it, it isn't mandatory.

Reply via email to