Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, March 2002
Re: writing out a cr-lf


Message 1 in thread

Am Dienstag, 26. Februar 2002 19:28 schrieb james creasy:
> im trying to write a cr-lf out in my QTextStream.  the below doesnt work:
>
> //QTextStream
>  ts << line << "\x0D\x0A";
>
> what should i be using?  vc++ 6.0, QT 3.0
try 
  ts << line << endl;

----------------------------------------
Content-Type: text/html; charset="iso-8859-1"; name="Anhang: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
----------------------------------------
try not posting the same twice, especially not as html :-).

klaus
-- 
 [ signature omitted ]