3 Oct
2004
3 Oct
'04
13:04
On Fri, 1 Oct 2004 03:22:07 +0200
Kirk Garvey
Hi,
As an experienced 'C' programmer but C++ novice I am wondering what is the best programming practice for standard input/output when programming C++, should one use 'printf()' and 'sprintf()' or 'cout' and 'cin'? Or is it down to personal preference? IMHO, when programming in C++ one should use C++, not C. The same goes for malloc and new. However, there is nothing really wrong with using the C standard IO.
--
Jerry Feldman