Compiler Error C2155

 

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

invalid left operand, expected arithmetic or pointer type

An expression on the left hand side of ? cannot be compared to zero. You must use an arithmetic or pointer expression that can be compared to zero.

Show: