Compiler Error C2543

 

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 C2543.

expected ']' for operator '[]'

The subscripting operator is missing a left bracket.

This error can be caused by macro expansion.

Show: