K
kackson
Hi.
What does it mean when it is written as:
in the test.hpp file->
class MYFUNCTION: public TOP
{
public:
....some variables...
MYFUNCTION(int x, int y, int z.. and some more argument);
.... and some more other variables and functions...;
}
and then in the test.cpp file->
MYFUNCTION::MYFUNCTION(int z, int y, int z,.. and some more
argument):TOP(x,y,z,w),_aa(a), _bb(b),_cc(c)
{
....some functions...;
}
What I dont understand is the meaning of the test.cpp ->
MYFUNCTION::MYFUNCTION:TOP(){}
What does this mean :: and follow by : and then a pair of {} means?
Could someone point me to a website where I could read such basic
things?
Thanks.
What does it mean when it is written as:
in the test.hpp file->
class MYFUNCTION: public TOP
{
public:
....some variables...
MYFUNCTION(int x, int y, int z.. and some more argument);
.... and some more other variables and functions...;
}
and then in the test.cpp file->
MYFUNCTION::MYFUNCTION(int z, int y, int z,.. and some more
argument):TOP(x,y,z,w),_aa(a), _bb(b),_cc(c)
{
....some functions...;
}
What I dont understand is the meaning of the test.cpp ->
MYFUNCTION::MYFUNCTION:TOP(){}
What does this mean :: and follow by : and then a pair of {} means?
Could someone point me to a website where I could read such basic
things?
Thanks.