Code:: blocks prompt nullptr’s was not declared in this scope

When this error occurred, I found a lot of information on the Internet. What is useful is that the following method is very simple,

Menu bar – & gt; setting – & gt; compiler

Check as shown in the figure below and click OK

Recompile, find correct, problem solved.

Read More: