[Dev-C++] Derived class initialization
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: softnasolutions-ltd.fsbusiness.co.uk <so...@so...> - 2001-06-25 17:54:33
|
Hi all, I'm stuying C++ using some sample programs and I have come accross this = line of code which i don't quite understand. PLease sombody tell me what = it means. derivedclass::derivedclass(classgrade *ave, name, age) : baseclass(ave, = name, age). What i don't understand is what it means to have :baseclass(ave, name, = age). I figure it has something to do with initiallising the derived = calss. but i don't understant exactly what it does. Thnx. Napoleon. |