Thread
:
Constructor problem
View Single Post
#
2
(
permalink
)
May 5th, 2005, 01:04 AM
Alan-LB
Authorized User
Join Date: Mar 2005
Posts: 58
Thanks: 0
Thanked 1 Time in 1 Post
The syntax is correct.
When you create an object of myDerivedClass type, the constructor used will be the myBaseClass() constructor. In other words the constructor for myDerivedClass uses the constructor inherited from myBaseClass.
Alan
Alan
Alan-LB
View Public Profile
Find all posts by Alan-LB