Reading first column in a file and creating new files...
Could you please assist me with the 'C' code for the following :-
I have a file called Test.txt.
Need to read the first column of the file and create files such that for each change in the first column, a new file is created with the filename as first column.ref.
That is for above file, 4 Files are created as each time the first column changes, a new file is created. The 4 files generated are as follows:-
Re: Reading first column in a file and creating new files...
How far have you got and where are you stuck?
Have you written code to open the input file and read the lines, with minimal extra code, for example just display the lines to the screen?
|All times are GMT +5.5. The time now is 19:25.|