Closed Frityet closed 1 year ago
Are there any actual differences between std::printf
and printf
?
Are there any actual differences between
std::printf
andprintf
?
If you include <cstdio>
then std::printf
is guaranteed to be there, whilst printf in the global namespace is not (compiler extension)
C APIs generally should be avoided in modern C++. I don't think this should be merged without further testing, but it should function.