hey there,
i want to write a c program to read array from a text file .....which looks something like this
ex.txt
123
245
465
12
37
84
984
i want to write a program to read these values and subtract each value from the next one(like 245-123,465-245,....and so on till end of file) and store result into another txt file.
i would be glad if somebody could suggest me how to do this.
Thank you very much.