Forgot your password?
typodupeerror

Comment C==vi, C++==emacs (the kitchen sink) (Score 1) 213

"The nice thing about the streams library is that you can easily expand it to handle user defined types"

This is true, but IMO, one of the best things about the streams library is that the compiler determines at compile time which code to call to do the streaming. Used properly, this is vastly more efficient than run-time interpretation of arguments to the printf family of functions.

Another great thing is that the streams library is type safe. That means the compiler does the error checking for you, elminating a whole class of bugs common to printf where arguments are given that don't match the format specification.

--
Daniel Neades
www.araxis.com

Slashdot Top Deals

The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!" (I found it!) but "That's funny ..." -- Isaac Asimov

Working...