I am trying to write in a file using VC++.
my program is to read the entries from the listview and write them in a text file.
however i am unable to give newline after each column in listview is written , thus entire listview contents get written in a straight line . plz tell me how to set filepointer to a newline.

You only have to write: \n to the file (as a string) ...
Could you please post the part of your code where you encounter this problem, so we can understand what you mean ...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.