Reading lines from a .txt file
Hi everyone! I really have no idea of how to program in C, but I use a piece of software at work where every now and then I need to write a piece of code. Every time I have to write a piece of code I come to you guys so here I am again!
I need the first line of data from a txt file and store it as a temporary value. This will then be written to another file but I have been able to work out how to do that part. I then need to loop round and pick up the second line of data. This wil go on and on until all 200 lines of data have been read from one file and then written to another. I know that it should onl be a few lines of relatively simple code but I have had no luck in solving this myself.
Thanks in advance,
Phil.