RAD Studio
ContentsIndex
PreviousUpNext
E2243: Array allocated using 'new' may not have an initializer

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!