пространство имен cstdio stdio.h
Я вижу эту строку из ссылки C ++ дляcstdio
:
Every element of the library is defined within the std namespace
.
но я попробовал код:
<code>std::printf("hello world"); printf("hello world"); </code>
это правда, чтоC++ headers puts the names in both the std and the global namespace?