Export (0) Print
Expand All
Expand Minimize

Compiler Error C2538

new : cannot specify initializer for arrays

An initializer is given for an array created with the new operator. The new operator creates arrays of objects by calling the default constructor for each element of the array. The elements of the array cannot be initialized to distinct values.

Community Additions

ADD
Show:
© 2014 Microsoft