I am doing data analysis and for that I have to edit MS Access file in csv format to labelled format... ie.

|Student, Name, Whatever |
|12,XyZ,PPP |

------to---------
1.Student 2.Name 3.Watever
1.12 2.XyZ 3.PPP

Please help...

What you are asking is how to reformat a simple text file -- csv files are just text files. Read the file one line at a time, make apprporpate changes then write the new line back out to a different file. If the file is small enough you could read the whole file into a vector or array of strings, make changes to them, then re-write the file with the new data. Thes are all standard file i/o functions and if you know how to read and write text files then you can easily read/write that csv file.