MW> I know I am probably opening up a big can of worms here. Here goes
MW> anyways. My question has to do with stream output. I know that I can
MW> use the traditional printf for printing formated text. Then there is
MW> the streams (cout) mechanism that I have been reading about lately. Can
MW> someone sum up in a nutshell the advantages/disadvantages of one method
MW> over the other?
Most of the "disadvantages" to iostreams are implentation dependant.
For example, iostream i/o takes more code space and takes more
execution time vs output. But there's no intrinsic reason why
that _has_ to be!
As for why to use iostreams, they do have "better" notation/syntax. It
meshes better with object oriented code.
---
þ Blue Wave/QWK v2.12 þ
---------------
* Origin: St. Louis Users Group (1:100/4)
|