[Qt-interest] Cross platform new line character

Raja Sekharan websweetweb at gmail.com
Thu Apr 2 14:10:38 CEST 2009


Hi,

I run into this problem of having to insert a new line character in a
string. Since Linux and Windows use different systems for  new line
characters, how do i add a new line character without worrying about the
platform?

Also, Will inserting "\r\n" work in all platforms?

Raja Sekharan




More information about the Qt-interest-old mailing list