gcc - Why Code::Blocks include C++ features when I'm coding with C? -


i use code::blocks ide. know example nullptr , new exist in c++, when type nu.. code::blocks's auto_completion can complete nu.. either nullwhich exists in c or nullptr exists in c++. strange when use nullptr in code shows me error:

first use in function

and obvious compiler doesn't recognize it's included nullptr code.

i don't know problem comes from. inappropriate setting such bad compiler configuration or else?

i appreciate help.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -