Thursday, December 2, 2010

Constructors

The declaration: Shape s; is not functionally equivalent to: Shape s(); s is an object declaration. s() is a function declaration.

No comments:

Post a Comment