When declaring an array of a class that has constructors, you must either explicitly initialize every element of the array, or the class must have a default constructor.
The compiler will define a default constructor for a class unless you have defined any constructors for the class.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|