Why are you opening all the three files before and reading from the 4th file? Also note that that '<' is read and '>' is write mode in the open function.
In reply to Re: opened file being overwritten
by Anonymous Monk
in thread opened file being overwritten
by perishowl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |