file modifying code in UNIX using C++

hi ,
Can someone help me with a program if possible .. I have similar files with file name like , .... which has some 47 rows of data in a txt format (almost same files ). I have another file name file1.txt having 100 rows just 0 or 1 . I want a program that reads file1.txt row by row each associated with, and if the row in file1.txt is 1 I want no change in ".in " file to be same and if its 0 that tht row numbers( suppose x) to be modified . The file is modified something like.. I want to delete 7 rows , 1st row being the row where i find the word "TIME"..

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!