On 2/27/07, Robert Ryan <[EMAIL PROTECTED]> wrote:

> word 'number' is exactly the point.........I am wondering about the diff 
> between a constructor and a function. a constructor is the same name as the 
> class. and a function is a diff name from the class of which a program can 
> have several, one being Number()

A constructor *is* a function call, one that returns an object of the
class the constructor is for. I'm still not sure what you are getting
at... if you want to declare and define a function called Number(),
there is nothing to stop you, as long as you don't clash with any
other declarations of the same function (such as might included in a
header).

There is no Number class in standard C++.

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
    If I were to divulge it, it would overturn the world."
               -- Jelaleddin Rumi

Reply via email to