Compiler Error C2113

 

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

pointer can only be subtracted from another pointer

The right operand in a subtraction operation was a pointer, but the left operand was not.

Show: