Problem with C++ header using whatever IDE or editor

I’m completely a newbie in the coding world. Been learning C++ for some days. I actually bought my MBA M1 to learn coding. But problems seem to appear whenever I tried to code #include <iostream>. I use the latest Codelite as my IDE and when I hover towards the red arrow it says the following- error: no member named 'nullptr_t' in the global namespace I have tried this investigation provided by Eskimo -

https://developer.apple.com/forums/thread/734833

But again the same errors keep occurring. As a complete newbie, I don’t know much things about these so any help would be amazing for me….

FYI I use the latest clang version as my command line tool and SIP is enabled. I tried restarting my Mac and tried multiple IDEs and code editors like vscode and nano etc. and macOS default terminal, but the the error kept the the same. Also running Ventura 13.3.1 ……

Please provide me simply explained instructions to solve this annoying problem…..

Answered by endecotp in 764136022

Your second screenshot almost shows us the commands that your GUI invokes to compile and link, but they are truncated.

If you run those commands from the terminal, do they work?

I ran that, but it just gave the same outputs- Here-

/tmp/codelite-exec.sh ; exit;
~ % /tmp/codelite-exec.sh ; exit;
Hello Cruel World!
Hit any key to continue...

What do you think the problem is?

Still no reply from anyone. What should I do?

Problem with C&#43;&#43; header using whatever IDE or editor
 
 
Q