Ok, I get the point. I'll indent more.
Now, where's that last ll fail CS306 coming from???
This is a discussion on What's wrong with my code here??? within the C Programming forums, part of the General Programming Boards category; Ok, I get the point. I'll indent more. Now, where's that last ll fail CS306 coming from???...
Ok, I get the point. I'll indent more.
Now, where's that last ll fail CS306 coming from???
>Now, where's that last ll fail CS306 coming from???
Probably because you're opening the output file in read/write mode versus write mode:
>out = open(outFILE, O_RDWR|O_CREAT, S_IRUSR|S_IRGRP|S_IROTH|S_IWUSR); //Uses system
Opening it in write mode should truncate the file first.