Effects: Writes up to 
n characters to the output sequence as if
by repeated calls to
sputc(c).  The characters written are obtained from successive elements of
the array whose first element is designated by 
s.Writing stops when either 
n characters have been written or
a call to
sputc(c)
would return
traits::eof().It is unspecified whether the function calls 
overflow() when 
pptr() == epptr() becomes 
true or whether it achieves the same effects by other means
.