When initializing a vector (array) of classes, you must use the constructor that has no arguments.
This is called the default constructor, which means that you can't supply constructor arguments when initializing such a vector.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|