Cuberite Forum
Why display with printf in C++ ? - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: Why display with printf in C++ ? (/thread-1779.html)



Why display with printf in C++ ? - Creaprog - 02-15-2015

Hello,

I see https://github.com/mc-server/MCServer/blob/master/Tools/ProtoProxy/Server.cpp you never use cout, why ?


RE: Why display with printf in C++ ? - xoft - 02-15-2015

I guess I'm just more used to the printf() format.


RE: Why display with printf in C++ ? - worktycho - 02-16-2015

Also we almost never use io directly and the printf format is easier to write a wrapper round.