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 null
which 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
Post a Comment