[Qt-interest] Cross platform new line character
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Thu Apr 2 14:45:03 CEST 2009
Raja Sekharan wrote on Thursday, April 02, 2009 2:11 PM:
> ... Since Linux and Windows use different systems for new line
> characters, how do i add a new line character without worrying about
> the platform?
http://en.wikipedia.org/wiki/Newline gives you the answer. Also if you use QString/QTextStream you should not need to worry about these things (as to make this question on-topic again ;)
Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list