DEV Community

Anbarasan
Anbarasan

Posted on

Error:E2020

Hi I am getting below mentioned error while compiling C++ code in visual studio 2022.

Error:E2020
the managed nullptr type cannot be used here

Help us to resolve the error.

Top comments (2)

Collapse
 
mellen profile image
Matt Ellen-Tsivintzeli

Looks like you're using a variable of type nullptr when you're not allowed to.

Without knowing more about the code people won't be able to help you.

Collapse
 
raphaelproject001 profile image
Rafael Barbosa da Silva

Goodnight!
Check script algoritm to correction.