On Jul 16, 10:38 pm, ravi <4uall.raviku...@gmail.com> wrote:
> But here the problem i am facing is csv file ouput is not in correct
> format. all rows data coming in single line.
That could be a text encoding issue. The single line could be - for
example , but my guess - because you are on a Windows machine but
instead of creating \r\n newlines, your app is just creating \n . You
also could not be escaping the newlines correctly -- i noticed your
error has the characters '\r\n'.
Newline in different operating systems:
\r\n = Windows
\n = Unix
\r = Mac
Read this page:
http://forums.codeguru.com/showthread.php?253826-C-String-What-is-the...