Constructors

What are Constructors, Destructors, and member functions
Constructors, Destructors, and member functions


I can't tell you a whole lot, but you can always look into the tutorial at the site here.

Anyways A member function is just a name for a funtion in a class for ex.
1
2
3
4
class Frog
{
    hey(int x);
};

Where "hey()" is a member function of class frog.

And I'm definatly not the best person to tell you about constructors so if I was you I'd look at the forums...

I can tell you that they are both member functions that are implictly called by the compiler.


Topic archived. No new replies allowed.