Definitions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vinodh Kumar P

    #1

    Definitions

    class Date
    {
    void SetDate(const int dd, const int mm, const int yy);
    int dd;
    int mm;
    int yy;
    };

    The above one is a class defintion.
    Only the SetDate function is the mere declaration?
    Am I right?

    - Vinodh


  • Victor Bazarov

    #2
    Re: Definitions

    "Vinodh Kumar P" <vinodh@here.co m> wrote...[color=blue]
    > class Date
    > {
    > void SetDate(const int dd, const int mm, const int yy);
    > int dd;
    > int mm;
    > int yy;
    > };
    >
    > The above one is a class defintion.
    > Only the SetDate function is the mere declaration?
    > Am I right?[/color]

    Yep.


    Comment

    Working...