Prev: Question about the getline method...
Next: will global variable for class type be initialized at declaration?
From: Paul on 18 Nov 2009 05:41 "Bo Persson" wrote: > On the other hand, sputn() is required to call xsputn(), which in turn > behaves "as-if" it calls sputc(). So, why not call sputc() directly? The idea behind sputn() which indeed should call xsputn() was optimisation to avoid copying one character at a time. This is why developers may provide an optimised version of xsputn() overriding the default implementation.
First
|
Prev
|
Pages: 1 2 Prev: Question about the getline method... Next: will global variable for class type be initialized at declaration? |