11 Sep
2009
11 Sep
'09
11:27 p.m.
Sven Heithecker escribió:
Hi all,
the code below using boost::iostream produces unwanted surplus output:
streamsize write(const char *s, streamsize n) { cout << "Write: " << s; return(n); }
My guess is you should only read up to n chars. Try copying n chars from s, and outputing those. Agustín K-ballo Bergé.-