Implementation Of A Constructor

Hello all, I was given an assignment and was asked to give the implementation of the constructor using an initialization list. I'm pretty new to C++ programming and I am not sure what exactly they want me to do with this. I was given a class declaration that looks like this:

class demoClass
{
public:
// assign arguments as initial values for the data memebers
demoClass(int a = 5, int b = 10);
// function returns the maximum of itemA and itemB
//int max() const;
private:
int itemA, itemB;
}

any help would be appreciated, thanks!
Topic archived. No new replies allowed.