Hi,
This a newbie question :o) :
I have a class :
class firstClass {
public:
firstClass(a, b);
......
(vars declaration)
( functions declaration)
}
and another one :
class nextClass : public firstClass {
public:
nextClass(a, b);
.....
(vars declaration)
( functions declaration)
}
and i want to call the constructor of firstClass in nextClass.
I know i can do :
nextClass ::nextClass(a,b)
: firstClass(a,b)
{
....
}
but i want to call firstClass directly in the {} because a need to make some
init before.
Can you help me ? if i use firstClass(a,b) in the {}, i have an error :
illegal use of abstract class
thanks
Chris
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/