Search:

Type: Posts; User: Watts53

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    1,371

    Re

    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...
  2. Replies
    7
    Views
    1,371

    Re

    -sorry. The question is, how would I do this.
  3. Replies
    7
    Views
    1,371

    Search and replace question

    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
  4. Replies
    5
    Views
    1,687

    Uninit variable

    good eye. but perhaps doy was initialized towards the begining of code with doy=0; ?
  5. Replies
    5
    Views
    1,687

    Ah HA!

    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!
  6. Replies
    5
    Views
    1,687

    You are right, Salem. Thanks for catching that....

    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.
  7. Replies
    5
    Views
    1,687

    Code works, one some files but not others

    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...
  8. Replies
    3
    Views
    1,276

    Thanks so much!

    It seems to be working just fine now.
  9. Replies
    3
    Views
    1,276

    Code help; loop problem

    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...
Results 1 to 9 of 9