Perhaps I am a bit confused about how fscanf works. I've read that it reads in the file line by line, correct? Does it hold in memory the value(s) of the previous line? I think that once I...
Type: Posts; User: Watts53
Perhaps I am a bit confused about how fscanf works. I've read that it reads in the file line by line, correct? Does it hold in memory the value(s) of the previous line? I think that once I...
-sorry. The question is, how would I do this.
Let's say I have a file column that looks like this:
Line# Value
1 6
2 6
3 6
4 6
5 6
6 8
good eye. but perhaps doy was initialized towards the begining of code with doy=0; ?
I found the source of error! A few times I had lower than expected Temp input, so this was causing an error in my temperature function. Fixed this problem with a if else statement.
Thanks all!
You are right, Salem. Thanks for catching that. :)
I've corrected that in my code. However, I'm still having the exact same problems as before.
Thanks everyone, for all the help previously.
My code is running, for some files but not for others.
I've attached six files (and the C code) to this posting. Each file has various lenghs and...
It seems to be working just fine now.
Hi,
I have the following program. It worked great until I added the For loop at the begining, and modified if((i=0)&&(doy <=1)). Now the output looks good for a couple iterations, but then goes...