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 ...