Compiler Error C2266

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Error C2266.

identifier' : reference to a non-constant bounded array is illegal

A reference is declared for an array with a nonconstant bound. The array must have constant bounds.

Show: